From ca416e79745b336c3a6f89c863da0a5b39d8b5ab Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Sun, 13 Nov 2011 09:27:52 +0100 Subject: Imported nxcomp-3.3.0-4.tar.gz Summary: Imported nxcomp-3.3.0-4.tar.gz Keywords: Imported nxcomp-3.3.0-4.tar.gz into Git repository --- nxcomp/Proxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxcomp/Proxy.cpp') 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) -- cgit v1.2.3