X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Fcompat%2Fwindows%2Fwincompat.c;h=d56e0a6dd28cc955f583d571f995934646502b91;hp=98bc2d788aac5222f4007b8d7cb5e76fb7103a2a;hb=4ca82ce280a465ccefe7fb8549d83ec78bb190d6;hpb=6031c7a7c36452ce88469591993416fd80370ffd diff --git a/src/compat/windows/wincompat.c b/src/compat/windows/wincompat.c index 98bc2d7..d56e0a6 100644 --- a/src/compat/windows/wincompat.c +++ b/src/compat/windows/wincompat.c @@ -138,12 +138,6 @@ ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) msg->msg_flags = (int)wsamsg.dwFlags; // all flags that fit into dwFlags also fit into msg_flags (see above) - // XXX debug, remove - { - char where[64]; - getnameinfo(msg->msg_name, msg->msg_namelen, where, sizeof(where), NULL, 0, NI_NUMERICHOST); - catta_log_debug("recvmsg: %u bytes from %s", (unsigned int)bytesrcvd, where); - } return bytesrcvd; } @@ -220,12 +214,6 @@ ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) return -1; } - // XXX debug, remove - { - char where[64]; - getnameinfo(msg->msg_name, msg->msg_namelen, where, sizeof(where), NULL, 0, NI_NUMERICHOST); - catta_log_debug("sendmsg: %u bytes to %s", (unsigned int)bytessent, where); - } return bytessent; }