aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Maxwell <gmaxwell@gmail.com>2012-05-22 20:33:35 -0700
committerGregory Maxwell <gmaxwell@gmail.com>2012-05-22 20:33:35 -0700
commit7a99821377eb46a1cc8b0115daf3af01ddb26a16 (patch)
tree19c35a8d035c90752f741b90cb9a46e3890f48b0 /src
parentf9189543bf4bdb099bc8b428d54226bd1050e1b0 (diff)
parent83e047eaa7651598f0040ac23988ac8aa6469dd5 (diff)
Merge pull request #1342 from rebroad/LastSeenMinusMinus
Should not be T minus, as this indicate duration to future event.
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 4c795554a9..9193e873e7 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -479,7 +479,7 @@ CNode* ConnectNode(CAddress addrConnect, const char *pszDest, int64 nTimeout)
/// debug print
printf("trying connection %s lastseen=%.1fhrs\n",
pszDest ? pszDest : addrConnect.ToString().c_str(),
- pszDest ? 0 : (double)(addrConnect.nTime - GetAdjustedTime())/3600.0);
+ pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0);
// Connect
SOCKET hSocket;