mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
remove debug
This commit is contained in:
parent
34dca85780
commit
a6f3e09d8b
1 changed files with 0 additions and 3 deletions
|
@ -56,9 +56,7 @@ namespace llarp
|
|||
virtual int
|
||||
sendto(const sockaddr* to, const void* data, size_t sz)
|
||||
{
|
||||
printf("kqueue:::udp_listener::sendto size[%d]\n", sz);
|
||||
socklen_t slen;
|
||||
printf("kqueue:::udp_listener::sendto af[%d]\n", to->sa_family);
|
||||
switch(to->sa_family)
|
||||
{
|
||||
case AF_INET:
|
||||
|
@ -70,7 +68,6 @@ namespace llarp
|
|||
default:
|
||||
return -1;
|
||||
}
|
||||
printf("kqueue:::udp_listener::sendto slen[%d]\n", slen);
|
||||
ssize_t sent = ::sendto(fd, data, sz, SOCK_NONBLOCK, to, slen);
|
||||
if(sent == -1)
|
||||
perror("kqueue sendto()");
|
||||
|
|
Loading…
Reference in a new issue