Ignore:
Timestamp:
21/08/06 12:35:39 (13 years ago)
Author:
spascoe
Message:

Removing debug code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/readmessage.c

    r1426 r1427  
    116116        } 
    117117    } 
    118  
    119     // DEBUG 
    120     // Do a checksum of the message and log it. 
    121     int i, c; 
    122     c = 0; 
    123     for (i = 0; i < msglen; i++) { 
    124       c += (int)buffer[i]; 
    125     } 
    126     PRINTMESSAGE(stdout, CASE_NORMAL, 0, timestamp, "readmessage: %d, chksum: %d\n", msglen, c); 
    127  
    128118    return(0) ; 
    129  
    130119} 
    131120int discardmessage(int sock,int msglen,int to,int fromchild)  
     
    138127    char    buffer[256] ; 
    139128    char    ent[40] ; 
    140  
    141     // DEBUG 
    142     // Do a checksum of the message and log it. 
    143     PRINTMESSAGE(stdout, CASE_NORMAL, 0, timestamp, "discardmessage: %d\n", msglen); 
    144  
    145129 
    146130    if ( fromchild == 1 ) { 
Note: See TracChangeset for help on using the changeset viewer.