]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
move the debug level definition
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 17 Apr 2021 15:46:47 +0000 (16:46 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sat, 17 Apr 2021 15:46:47 +0000 (16:46 +0100)
nqptp.c
nqptp.h

diff --git a/nqptp.c b/nqptp.c
index f037b8350f7602e0f65b2992d3517725565c0f28..ea8aa128bd260706b9d55801a28e0e28b21001bb 100644 (file)
--- a/nqptp.c
+++ b/nqptp.c
  * 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 0cdd68cec24c9e76f03b79407d6785a186c8017a..444514591e5029ffcbeb6c643f4e27d6d7f08b44 100644 (file)
--- 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