summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 51140ee02..0e3a1ee5f 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -229,7 +229,7 @@ void SocketEngine::RecoverFromFork()
void SocketEngine::UpdateStats(size_t len_in, size_t len_out)
{
- if (lastempty + 1 > time(NULL))
+ if (lastempty != time(NULL))
{
lastempty = time(NULL);
indata = outdata = 0;