]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Replace the #ifdef DEBUG that got undone by Danny's recent patch
authorHarlan Stenn <stenn@ntp.org>
Thu, 10 Aug 2006 04:53:59 +0000 (00:53 -0400)
committerHarlan Stenn <stenn@ntp.org>
Thu, 10 Aug 2006 04:53:59 +0000 (00:53 -0400)
bk: 44dabbe7vbaqZudtIwjdRKrnFZKmhQ

ntpd/ntp_io.c

index 0031ee6e18b153c7814c844a9ae978698e61cb13..9d15155d0336db5814b8befb7bf67672c0e46eca 100644 (file)
@@ -2262,7 +2262,11 @@ open_socket(
                /*
                 * Don't log this under all conditions
                 */
-               if (turn_off_reuse == 0 || debug > 1)
+               if (turn_off_reuse == 0
+#ifdef DEBUG
+                   || debug > 1
+#endif
+                  )
                        netsyslog(LOG_ERR, buff);
 
                closesocket(fd);