From: Sven M. Hallberg Date: Thu, 16 Oct 2014 15:44:17 +0000 (+0200) Subject: remove network traffic debug output X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=4ca82ce280a465ccefe7fb8549d83ec78bb190d6;p=catta remove network traffic debug output --- 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; }