From b4c2ff3d270a43fe4d4f8a94fed418dd84c21759 Mon Sep 17 00:00:00 2001 From: Ken Sedgwick Date: Mon, 30 Dec 2024 11:36:06 -0800 Subject: [PATCH] Only log to stdout if NDB_LOG is defined Closes: https://github.com/damus-io/nostrdb/pull/64 --- src/nostrdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostrdb.h b/src/nostrdb.h index 94895e2..013b11b 100644 --- a/src/nostrdb.h +++ b/src/nostrdb.h @@ -17,7 +17,7 @@ //#define DEBUG 1 -#ifdef DEBUG +#ifdef NDB_LOG #define ndb_debug(...) printf(__VA_ARGS__) #else #define ndb_debug(...) (void)0