summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspsocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index c5ff24c87..492cafdd9 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -551,6 +551,10 @@ void SocketTimeout::Tick(time_t now)
delete this->sock;
return;
}
+ else
+ {
+ this->sock->Timeout = NULL;
+ }
}
bool InspSocket::Poll()