[ntpsec commit] Revert changes to MAXASSOC and MAXKIST definitions...

Eric S. Raymond esr at ntpsec.org
Sat Oct 3 14:45:41 UTC 2015


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

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Sat Oct  3 10:00:21 2015 -0400

Revert changes to MAXASSOC and MAXKIST definitions...

...we can't do this right until the library refactoring.

---

 ntpq/libntpq.h | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/ntpq/libntpq.h b/ntpq/libntpq.h
index 2c59f1d..f0ebd72 100644
--- a/ntpq/libntpq.h
+++ b/ntpq/libntpq.h
@@ -18,18 +18,14 @@
 /* general purpose buffer size */
 #define NTPQ_BUFLEN 2048
 
-/* max. number of associations */
-#ifdef OVERRIDE_MAXASSOC
-#define MAXASSOC	OVERRIDE_MAXASSOC
-#else
-#define MAXASSOC	1024
+/* Max. number of associations */
+#ifndef MAXASSOC
+#define MAXASSOC    1024
 #endif
 
 /* general purpose max array size definition */
-#ifdef OVERRIDE_MAXLIST
-#define MAXLIST	OVERRIDE_MAXLIST
-#else
-#define MAXLIST	64
+#ifndef MAXLIST
+#define MAXLIST 64
 #endif
 
 /* NTP Status codes */



More information about the vc mailing list