Changeset 2045


Ignore:
Timestamp:
Jun 11, 2007, 1:07:28 AM (15 years ago)
Author:
joshe
Message:

Fix bug where partially received messages data would be dropped,

causing a parse error when the rest of the message arrived.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/IPCController.m

    r2044 r2045  
    360360    else if( 0 < res )
    361361    {
    362         if( res > [_buf length])
     362        assert( res <= [_buf length]);
     363        if( res < [_buf length])
    363364        {
    364365            memmove( [_buf mutableBytes], [_buf bytes] + res,
Note: See TracChangeset for help on using the changeset viewer.