Changeset 929 for trunk/pdns/pdns/tcpreceiver.cc
- Timestamp:
- 12/16/06 15:23:08 (6 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/tcpreceiver.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/tcpreceiver.cc
r902 r929 94 94 while(bytesLeft) { 95 95 int ret=waitForData(fd, s_timeout); 96 if(ret <0)96 if(ret < 0) 97 97 throw AhuException("Waiting on data from remote TCP client "+remote->toString()+": "+stringerror()); 98 98 … … 377 377 count=0; 378 378 379 if(sendDelPacket(outpacket, outsock) <0) // FIXME: this leaks memory!379 if(sendDelPacket(outpacket, outsock) < 0) // FIXME: this leaks memory! 380 380 return 0; 381 381