[ntpsec commit] Fix a couple of bools

Hal Murray murray at ntpsec.org
Tue Oct 6 08:39:35 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    9a658cbdd8844f18a62a18d79e0e46fb2bb82d39
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=9a658cbdd8844f18a62a18d79e0e46fb2bb82d39

Author:    Hal Murray <hmurray at megapathdsl.net>
Date:      Tue Oct  6 01:38:23 2015 -0700

Fix a couple of bools

One was causing the wide mode to appear to be on.

---

 ntpq/ntpq-subs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ntpq/ntpq-subs.c b/ntpq/ntpq-subs.c
index 436c5d2..a8ef4a0 100644
--- a/ntpq/ntpq-subs.c
+++ b/ntpq/ntpq-subs.c
@@ -274,9 +274,9 @@ struct varlist {
 /*
  * Imported from ntpq.c
  */
-extern int showhostnames;
-extern int wideremote;
-extern int rawmode;
+extern bool showhostnames;
+extern bool wideremote;
+extern bool rawmode;
 extern struct servent *server_entry;
 extern struct association *assoc_cache;
 extern uint8_t pktversion;



More information about the vc mailing list