From: Philip Homburg Date: Mon, 17 Sep 2007 11:22:06 +0000 (+0000) Subject: Disabled some debug output in recvfrom. X-Git-Tag: v3.1.4~322 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.host.html?a=commitdiff_plain;h=af678531aacd6cb0256e70e325111e33d985ccff;p=minix.git Disabled some debug output in recvfrom. --- diff --git a/lib/ip/recvfrom.c b/lib/ip/recvfrom.c index 7f54de7ed..23ffd285a 100644 --- a/lib/ip/recvfrom.c +++ b/lib/ip/recvfrom.c @@ -28,7 +28,9 @@ ssize_t recvfrom(int socket, void *_RESTRICT buffer, size_t length, int r; nwio_udpopt_t udpopt; +#if DEBUG fprintf(stderr, "recvfrom: for fd %d\n", socket); +#endif r= ioctl(socket, NWIOGUDPOPT, &udpopt); if (r != -1 || (errno != ENOTTY && errno != EBADIOCTL))