Changeset 232

Show
Ignore:
Timestamp:
09/09/04 11:55:24 (4 years ago)
Author:
morris
Message:

sync with wired

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trackerd/trunk/trackerd/commands.c

    r231 r232  
    1 /* $Id: commands.c,v 1.14 2004/09/09 09:37:56 morris Exp $ */ 
     1/* $Id: commands.c,v 1.15 2004/09/09 09:55:24 morris Exp $ */ 
    22 
    33/* 
     
    137137                client->buffer_offset += bytes; 
    138138                 
    139                 if(client->buffer[client->buffer_offset + bytes - 1] == WT_MESSAGE_SEPARATOR) { 
     139                if(client->buffer[client->buffer_offset - 1] == WT_MESSAGE_SEPARATOR) { 
    140140                        /* chomp separator */ 
    141                         client->buffer[client->buffer_offset + bytes - 1] = '\0'; 
     141                        client->buffer[client->buffer_offset - 1] = '\0'; 
    142142                 
    143143                        /* parse buffer */