removed debug info and unused code

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-11-27 20:13:43 +00:00
parent 4f80b2557e
commit ac26433450

View file

@ -73,11 +73,6 @@ const uint32_t PEER_IP_CONNECT_STATE_MAX_LIST_SIZE = 4;
* #define CONN_DEBUG_TICK 1 * #define CONN_DEBUG_TICK 1
***/ ***/
#define CONN_DEBUG 1
#define CONN_DEBUG_RESET 1
#define CONN_DEBUG_TICK 1
#define CONN_DEBUG_RESET 1
/**** /****
* #define P3CONNMGR_NO_TCP_CONNECTIONS 1 * #define P3CONNMGR_NO_TCP_CONNECTIONS 1
***/ ***/
@ -2594,8 +2589,8 @@ bool p3ConnectMgr::locked_CheckPotentialAddr(struct sockaddr_in *addr, time_t a
} }
bool isValid = isValidNet(&(addr->sin_addr)); bool isValid = isValidNet(&(addr->sin_addr));
bool isLoopback = isLoopbackNet(&(addr->sin_addr)); // bool isLoopback = isLoopbackNet(&(addr->sin_addr));
bool isPrivate = isPrivateNet(&(addr->sin_addr)); // bool isPrivate = isPrivateNet(&(addr->sin_addr));
bool isExternal = isExternalNet(&(addr->sin_addr)); bool isExternal = isExternalNet(&(addr->sin_addr));
/* if invalid - quick rejection */ /* if invalid - quick rejection */