From: Harlan Stenn Date: Thu, 6 Mar 2003 02:02:52 +0000 (-0500) Subject: Add missing #ifdef DEBUG stuff. From Greg Dowd X-Git-Tag: NTP_4_1_1C_RC2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f66f7f9a1e386b769622cdc3903c708431ea3c;p=thirdparty%2Fntp.git Add missing #ifdef DEBUG stuff. From Greg Dowd bk: 3e66ac4c9rUaxhskEBEOXf0QSojLdQ --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 1b80560c6..ad2c73b39 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -900,9 +900,10 @@ service_main( } else if (nfound == -1 && errno != EINTR) msyslog(LOG_ERR, "select() error: %m"); - else if (debug > 2) { +# ifdef DEBUG + else if (debug > 2) msyslog(LOG_DEBUG, "select(): nfound=%d, error: %m", nfound); - } +# endif /* DEBUG */ # else /* HAVE_SIGNALED_IO */ wait_for_signal();