]> Zhao Yanbai Git Server - minix.git/commitdiff
Disabled some debug output in recvfrom.
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 17 Sep 2007 11:22:06 +0000 (11:22 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 17 Sep 2007 11:22:06 +0000 (11:22 +0000)
lib/ip/recvfrom.c

index 7f54de7ed72867f0fcb68285a43903cfa6d69a43..23ffd285af1bdaad59dad270b224ea514b971317 100644 (file)
@@ -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))