diff options
author | R E Broadley <rebroad+github@gmail.com> | 2012-05-17 21:58:05 +0100 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2012-05-17 21:58:05 +0100 |
commit | 83e047eaa7651598f0040ac23988ac8aa6469dd5 (patch) | |
tree | 3375f25b2105f4062da3b025dfa871734c30c663 /src/net.cpp | |
parent | f1e7570755587e37c60cf652a398fafe40eb3008 (diff) |
Was showing a negative number. Changes to positive, since negative (T minus) usually indicates a future event.
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 65b78bf6fa..4ae97034d8 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; |