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:
drbob 2010-08-01 18:22:37 +00:00
parent f876dcb93b
commit 74b36a6af6
4 changed files with 29 additions and 12 deletions

View file

@ -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;