From 4ca82ce280a465ccefe7fb8549d83ec78bb190d6 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Thu, 16 Oct 2014 17:44:17 +0200 Subject: [PATCH] remove network traffic debug output --- src/compat/windows/wincompat.c | 12 ------------ 1 file changed, 12 deletions(-) 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; } -- 2.39.5