mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Tweaks to debug connections.
* bool / int mismatch bug in tou_extaddr() * extra debugging to p3connmgr * fixed connect error in p3connmgr. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3e1b155f1a
commit
1bb4283986
4 changed files with 151 additions and 8 deletions
|
@ -94,7 +94,11 @@ int tou_extaddr(struct sockaddr *ext_addr, socklen_t *addrlen)
|
|||
if (!tou_inited)
|
||||
return -1;
|
||||
|
||||
return udps->externalAddr(*(struct sockaddr_in *) ext_addr);
|
||||
if (udps->externalAddr(*(struct sockaddr_in *) ext_addr))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue