Removed most of the output to stderr.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-07-09 09:55:09 +00:00
parent d5376cd575
commit ca69e3d5e3
24 changed files with 586 additions and 93 deletions

View file

@ -642,7 +642,9 @@ bool UdpSorter::checkStunKeepAlive()
#endif
}
#ifdef DEBUG_UDP_SORTER
locked_printStunList();
#endif
}
@ -679,7 +681,9 @@ bool UdpSorter::locked_recvdStun(const struct sockaddr_in &remote, const stru
}
}
#ifdef DEBUG_UDP_SORTER
locked_printStunList();
#endif
if (!eaddrKnown)
{
@ -754,6 +758,7 @@ bool UdpSorter::locked_checkExternalAddress()
bool UdpSorter::locked_printStunList()
{
#ifdef DEBUG_UDP_SORTER
std::ostringstream out;
time_t now = time(NULL);
@ -774,6 +779,7 @@ bool UdpSorter::locked_printStunList()
}
std::cerr << out.str();
#endif
return true;
}