From ba3e5a6030eca8284fa2bb3117553fd6422539ae Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 9 Nov 2013 19:32:13 +0000 Subject: [PATCH] added ip address for socket write errors --- source/shared_lib/sources/platform/posix/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp index 4438c38f0..133159704 100644 --- a/source/shared_lib/sources/platform/posix/socket.cpp +++ b/source/shared_lib/sources/platform/posix/socket.cpp @@ -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 {