aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Proxy.cpp
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
committerReinhard Tartler <siretart@tauware.de>2011-11-13 09:27:52 +0100
commitca416e79745b336c3a6f89c863da0a5b39d8b5ab (patch)
tree4cc470eaf16c51cd1dd778f6db0d81a9edec8601 /nxcomp/Proxy.cpp
parent95ce6b74b70f9d9645a07e03eed9a8004ba7c8cc (diff)
downloadnx-libs-ca416e79745b336c3a6f89c863da0a5b39d8b5ab.tar.gz
nx-libs-ca416e79745b336c3a6f89c863da0a5b39d8b5ab.tar.bz2
nx-libs-ca416e79745b336c3a6f89c863da0a5b39d8b5ab.zip
Imported nxcomp-3.3.0-4.tar.gznxcomp/3.3.0-4
Summary: Imported nxcomp-3.3.0-4.tar.gz Keywords: Imported nxcomp-3.3.0-4.tar.gz into Git repository
Diffstat (limited to 'nxcomp/Proxy.cpp')
-rwxr-xr-xnxcomp/Proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp
index 796568375..8e1d0b565 100755
--- a/nxcomp/Proxy.cpp
+++ b/nxcomp/Proxy.cpp
@@ -3645,7 +3645,7 @@ int Proxy::handlePing()
{
int diffPing = diffTimestamp(timeouts_.pingTs, nowTs);
- if (diffPing >= (control -> PingTimeout -
+ if (diffPing < 0 || diffPing >= (control -> PingTimeout -
control -> LatencyTimeout * 5))
{
#if defined(TEST) || defined(INFO) || defined(PING)