aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nxcomp/src/Loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index baad17699..bb6d18531 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -14079,9 +14079,9 @@ static void handleCheckSelectInLoop(int &setFDs, fd_set &readSet,
static void handleCheckResultInLoop(int &resultFDs, int &errorFDs, int &setFDs, fd_set &readSet,
fd_set &writeSet, struct timeval &selectTs,
- struct timeval &startTs)
+ struct timeval &pstartTs)
{
- int diffTs = diffTimestamp(startTs, getNewTimestamp());
+ int diffTs = diffTimestamp(pstartTs, getNewTimestamp());
if (diffTs >= (control -> PingTimeout -