/[rdesktop]/sourceforge.net/trunk/rdesktop/mppc.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/mppc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 712 by jsorg71, Wed Jun 16 00:56:36 2004 UTC revision 828 by stargo, Sun Mar 6 21:11:18 2005 UTC
# Line 1  Line 1 
1  /* -*- c-basic-offset: 8 -*-  /* -*- c-basic-offset: 8 -*-
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     Protocol services - RDP decompression     Protocol services - RDP decompression
4     Copyright (C) Matthew Chapman 1999-2004     Copyright (C) Matthew Chapman 1999-2005
5    
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 279  mppc_expand(uint8 * data, uint32 clen, u Line 279  mppc_expand(uint8 * data, uint32 clen, u
279    
280                          match_bits = match_len;                          match_bits = match_len;
281                          match_len =                          match_len =
282                                  ((walker >> (32 - match_bits)) & (~(-1 << match_bits))) | (1 << match_bits);                                  ((walker >> (32 - match_bits)) & (~(-1 << match_bits))) | (1 <<
283                                                                                               match_bits);
284                          walker <<= match_bits;                          walker <<= match_bits;
285                          walker_len -= match_bits;                          walker_len -= match_bits;
286                  }                  }

Legend:
Removed from v.712  
changed lines
  Added in v.828

  ViewVC Help
Powered by ViewVC 1.1.26