From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 17 Apr 2021 15:46:47 +0000 (+0100) Subject: move the debug level definition X-Git-Tag: 1.1-dev~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc2a594e30211ec3b60a2031325382771d5860c2;p=thirdparty%2Fnqptp.git move the debug level definition --- diff --git a/nqptp.c b/nqptp.c index f037b83..ea8aa12 100644 --- a/nqptp.c +++ b/nqptp.c @@ -17,10 +17,6 @@ * Commercial licensing is also available. */ -// 0 means no debug messages. 3 means lots! - -#define DEBUG_LEVEL 1 - #include "nqptp.h" #include "debug.h" #include "general-utilities.h" diff --git a/nqptp.h b/nqptp.h index 0cdd68c..4445145 100644 --- a/nqptp.h +++ b/nqptp.h @@ -20,6 +20,9 @@ #ifndef NQPTP_H #define NQPTP_H +// 0 means no debug messages. 3 means lots! +#define DEBUG_LEVEL 0 + #include "nqptp-shm-structures.h" #define MAX_OPEN_SOCKETS 16