diff options
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 7147c263c..c20291453 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -162,8 +162,15 @@ char* InspSocket::Read() } else { - log(DEBUG,"EOF or error on socket"); - return NULL; + if (n == EAGAIN) + { + return ""; + } + else + { + log(DEBUG,"EOF or error on socket"); + return NULL; + } } } |