mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Integration with libbitdht.
* Added debuging #defs for annoying output. * fixed compiler "unused parameter" warning for rsiface.h git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3327 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f876dcb93b
commit
74b36a6af6
4 changed files with 29 additions and 12 deletions
|
@ -120,8 +120,7 @@ int tou_socket(int /*domain*/, int /*type*/, int /*protocol*/)
|
|||
}
|
||||
|
||||
/* bind - opens the udp port */
|
||||
int tou_bind(int sockfd, const struct sockaddr *my_addr,
|
||||
socklen_t addrlen)
|
||||
int tou_bind(int sockfd, const struct sockaddr * /* my_addr */, socklen_t /* addrlen */ )
|
||||
{
|
||||
if (tou_streams[sockfd] == NULL)
|
||||
{
|
||||
|
@ -208,7 +207,7 @@ int tou_listenfor(int sockfd, const struct sockaddr *serv_addr,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int tou_listen(int sockfd, int backlog)
|
||||
int tou_listen(int /* sockfd */ , int /* backlog */ )
|
||||
{
|
||||
tou_tick_all();
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue