nostrdb: Only log to stdout if NDB_LOG is defined

Closes: https://github.com/damus-io/nostrdb/pull/64
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Ken Sedgwick authored and Daniel D’Aquino committed 2025-08-11 16:40:01 -07:00
1 parent af5961ce26
commit e6cb6c938b
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@
//#define DEBUG 1
#ifdef DEBUG
#ifdef NDB_LOG
#define ndb_debug(...) printf(__VA_ARGS__)
#else
#define ndb_debug(...) (void)0