diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-09-25 09:01:54 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-10-06 13:13:25 +0200 |
commit | de10efd154d6c02fe8549a2dc9649a96cf601fd2 (patch) | |
tree | 00dfcc650d5ff65d67fa0130314a0862f2d4ba2c /src/netbase.cpp | |
parent | 5505a1b13f75af9f0f6421b42d97c06e079db345 (diff) |
add -timeout default as constant and use them
- update help message text
- simplify code in init to check for -timeout
Diffstat (limited to 'src/netbase.cpp')
-rw-r--r-- | src/netbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp index 5819c152a3..b3d1001547 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -40,7 +40,7 @@ using namespace std; static proxyType proxyInfo[NET_MAX]; static CService nameProxy; static CCriticalSection cs_proxyInfos; -int nConnectTimeout = 5000; +int nConnectTimeout = DEFAULT_CONNECT_TIMEOUT; bool fNameLookup = false; static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff }; |