added ip address for socket write errors

This commit is contained in:
Mark Vejvoda
2013-11-09 19:32:13 +00:00
parent 54338461dc
commit ba3e5a6030

View File

@@ -1758,7 +1758,7 @@ bool Socket::isWritable(struct timeval *timeVal, bool lockMutex) {
result = true;
if(difftime(time(NULL),lastSocketError) > 1) {
lastSocketError = time(NULL);
SystemFlags::OutputDebug(SystemFlags::debugError,"SOCKET WRITE TIMEOUT In [%s::%s Line: %d] i = %d sock = %d\n",__FILE__,__FUNCTION__,__LINE__,i,sock);
SystemFlags::OutputDebug(SystemFlags::debugError,"SOCKET WRITE TIMEOUT In [%s::%s Line: %d] i = %d sock = %d [%s]\n",__FILE__,__FUNCTION__,__LINE__,i,sock,ipAddress.c_str());
}
}
else {