mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
added ip address for socket write errors
This commit is contained in:
@@ -1758,7 +1758,7 @@ bool Socket::isWritable(struct timeval *timeVal, bool lockMutex) {
|
|||||||
result = true;
|
result = true;
|
||||||
if(difftime(time(NULL),lastSocketError) > 1) {
|
if(difftime(time(NULL),lastSocketError) > 1) {
|
||||||
lastSocketError = time(NULL);
|
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 {
|
else {
|
||||||
|
Reference in New Issue
Block a user