]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Get rid of some debugging statements
authorTed Lemon <source@isc.org>
Wed, 5 Jul 2000 09:13:02 +0000 (09:13 +0000)
committerTed Lemon <source@isc.org>
Wed, 5 Jul 2000 09:13:02 +0000 (09:13 +0000)
omapip/dispatch.c

index d5bb2906a4954d9cfc1d3bb6ed41a19e729fea1c..5d7335bbbcfcd65f5a3efe1ce97c3db1123b0811 100644 (file)
@@ -282,12 +282,14 @@ isc_result_t omapi_one_dispatch (omapi_object_t *wo,
        }
 
        /* Wait for a packet or a timeout... XXX */
+#if 0
 #if defined (__linux__)
 #define fds_bits __fds_bits
 #endif
        log_error ("dispatch: %d %lx %lx", max,
                   (unsigned long)r.fds_bits [0],
                   (unsigned long)w.fds_bits [0]);
+#endif
        count = select (max + 1, &r, &w, &x, t ? &to : (struct timeval *)0);
 
        /* Get the current time... */
@@ -309,9 +311,11 @@ isc_result_t omapi_one_dispatch (omapi_object_t *wo,
                        if (io -> readfd && io -> inner &&
                            (desc = (*(io -> readfd)) (io -> inner)) >= 0) {
                            FD_SET (desc, &r);
+#if 0
                            log_error ("read check: %d %lx %lx", max,
                                       (unsigned long)r.fds_bits [0],
                                       (unsigned long)w.fds_bits [0]);
+#endif
                            count = select (desc + 1, &r, &w, &x, &t0);
                           bogon:
                            if (count < 0) {
@@ -337,9 +341,11 @@ isc_result_t omapi_one_dispatch (omapi_object_t *wo,
                        if (io -> writefd && io -> inner &&
                            (desc = (*(io -> writefd)) (io -> inner)) >= 0) {
                                FD_SET (desc, &w);
+#if 0
                                log_error ("write check: %d %lx %lx", max,
                                           (unsigned long)r.fds_bits [0],
                                           (unsigned long)w.fds_bits [0]);
+#endif
                                count = select (desc + 1, &r, &w, &x, &t0);
                                if (count < 0)
                                        goto bogon;