Browse Source

remove dup of extern int nConnectTimeout; in netbase

0.10
Philip Kaufmann 11 years ago
parent
commit
cb7a3edc3d
  1. 4
      src/netbase.h

4
src/netbase.h

@ -17,6 +17,7 @@
#include <vector> #include <vector>
extern int nConnectTimeout; extern int nConnectTimeout;
extern bool fNameLookup;
#ifdef WIN32 #ifdef WIN32
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error // In MSVC, this is defined as a macro, undefine it to prevent a compile and link error
@ -33,9 +34,6 @@ enum Network
NET_MAX, NET_MAX,
}; };
extern int nConnectTimeout;
extern bool fNameLookup;
/** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */ /** IP address (IPv6, or IPv4 using mapped IPv6 range (::FFFF:0:0/96)) */
class CNetAddr class CNetAddr
{ {

Loading…
Cancel
Save