[Git][NTPsec/ntpsec][master] Added /* SPECIAL DEBUG */ token to lines previously missed
Ian Bruene
gitlab at mg.gitlab.com
Wed Jun 7 19:45:55 UTC 2017
Ian Bruene pushed to branch master at NTPsec / ntpsec
Commits:
a57ec5cd by Ian Bruene at 2017-06-07T14:33:45-05:00
Added /* SPECIAL DEBUG */ token to lines previously missed
- - - - -
1 changed file:
- ntpd/ntp_io.c
Changes:
=====================================
ntpd/ntp_io.c
=====================================
--- a/ntpd/ntp_io.c
+++ b/ntpd/ntp_io.c
@@ -502,7 +502,7 @@ print_interface(const endpt *iface, const char *pfx, const char *sfx)
? "Disabled"
: "Enabled",
sfx);
- if (debug > 4) /* in-depth debugging only */
+ if (debug > 4) /* in-depth debugging only */ /* SPECIAL DEBUG */
interface_dump(iface);
}
#endif
@@ -2119,7 +2119,7 @@ open_socket(
*/
if (turn_off_reuse == 0
#ifdef DEBUG
- || debug > 1
+ || debug > 1 /* SPECIAL DEBUG */
#endif
) {
msyslog(LOG_ERR,
@@ -2440,7 +2440,7 @@ io_handler(void)
msyslog(LOG_ERR, "select() error: %m");
}
# ifdef DEBUG
- else if (debug > 4) {
+ else if (debug > 4) { /* SPECIAL DEBUG */
msyslog(LOG_DEBUG, "select(): nfound=%d, error: %m", nfound);
} else {
DPRINT(1, ("select() returned %d: %m\n", nfound));
@@ -2577,7 +2577,7 @@ input_handler(
*/
if (select_count == 0) { /* We really had nothing to do */
#ifdef DEBUG
- if (debug)
+ if (debug) /* SPECIAL DEBUG */
msyslog(LOG_DEBUG, "input_handler: select() returned 0");
#endif /* DEBUG */
return;
@@ -2591,7 +2591,7 @@ input_handler(
*/
ts_e -= ts;
collect_timing(NULL, "input handler", 1, ts_e);
- if (debug > 3)
+ if (debug > 3) /* SPECIAL DEBUG */
msyslog(LOG_DEBUG,
"input_handler: Processed a gob of fd's in %s msec",
lfptoms(ts_e, 6));
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a57ec5cdfc5cafae16e00f26abb2cfe6b1e29e76
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a57ec5cdfc5cafae16e00f26abb2cfe6b1e29e76
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170607/f0e899b5/attachment.html>
More information about the vc
mailing list