Show
Ignore:
Timestamp:
04/02/09 18:33:22 (15 years ago)
Author:
trnewman
Message:

Fixed typos

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/lib/socketcomm/socketcomm.cpp

    r227 r229  
    4444        ERROR(1, "Error reading from socket.\n"); 
    4545    if(msgLength == 0) 
    46         ERROR(1, "Remote component closed connection.\n"); 
     46        ERROR(1, "Remote component closed connection. 1\n"); 
    4747 
    4848    size_t i; 
     
    5757        ERROR(1, "Error reading from socket.\n"); 
    5858    if(msgLength == 0) 
    59         ERROR(1, "Remote component closed connection.\n"); 
     59        ERROR(1, "Remote component closed connection. 2\n"); 
    6060} 
    6161 
     
    124124    ssize_t numSentBytes = send(socketFD, message, (strlen(message) + 1), 0); 
    125125        if(numSentBytes < 0) { 
    126         ERROR(1, "Error sending to server.\n"); 
     126        ERROR(1, "Error sending to server %i (%i): %s\n",socketFD, numSentBytes, message); 
    127127    } 
    128128    else if(numSentBytes == 0) {