- Timestamp:
- May 24, 2006, 1:58:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r7802 r7803 391 391 { 392 392 int oldOffset = offset; 393 394 393 Synchronizeable & sync = **it; 395 394 … … 437 436 { 438 437 NETPRINTF(n)("REMOVE ZERO DIFF: %s (%d)\n", sync.getClassName(), sync.getUniqueID()); 439 offset = offset - n - 2*INTSIZE; 440 assert( offset == oldOffset ); 438 offset = oldOffset; 441 439 } 442 440 … … 505 503 } 506 504 507 while ( offset < length ) 508 { 505 while ( offset + 2*INTSIZE < length ) 506 { 507 NETPRINTF(n)("%d\n", length - offset); 509 508 assert( Converter::byteArrayToInt( buf + offset, &uniqueId ) == INTSIZE ); 510 509 offset += INTSIZE;
Note: See TracChangeset
for help on using the changeset viewer.