From ac2643345039078f75afa9486010e24a938ef4c8 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 27 Nov 2010 20:13:43 +0000 Subject: [PATCH] removed debug info and unused code git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3875 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/p3connmgr.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 8ef37402f..de31c5b5b 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -73,11 +73,6 @@ const uint32_t PEER_IP_CONNECT_STATE_MAX_LIST_SIZE = 4; * #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 ***/ @@ -2594,8 +2589,8 @@ bool p3ConnectMgr::locked_CheckPotentialAddr(struct sockaddr_in *addr, time_t a } bool isValid = isValidNet(&(addr->sin_addr)); - bool isLoopback = isLoopbackNet(&(addr->sin_addr)); - bool isPrivate = isPrivateNet(&(addr->sin_addr)); +// bool isLoopback = isLoopbackNet(&(addr->sin_addr)); +// bool isPrivate = isPrivateNet(&(addr->sin_addr)); bool isExternal = isExternalNet(&(addr->sin_addr)); /* if invalid - quick rejection */