/[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 711 by jsorg71, Tue Jun 15 22:45:12 2004 UTC revision 717 by astrand, Thu Jun 17 09:42:58 2004 UTC
# Line 59  int Line 59  int
59  mppc_expand(uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen)  mppc_expand(uint8 * data, uint32 clen, uint8 ctype, uint32 * roff, uint32 * rlen)
60  {  {
61          int k, walker_len = 0, walker;          int k, walker_len = 0, walker;
62          int i = 0;          uint32 i = 0;
63          int next_offset, match_off;          int next_offset, match_off;
64          int match_len;          int match_len;
65          int old_offset, match_bits;          int old_offset, match_bits;
# 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.711  
changed lines
  Added in v.717

  ViewVC Help
Powered by ViewVC 1.1.26