mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
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:
parent
d5376cd575
commit
ca69e3d5e3
24 changed files with 586 additions and 93 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue