Skip to content

Commit b4c2ff3

Browse files
ksedgwicjb55
authored andcommitted
Only log to stdout if NDB_LOG is defined
Closes: #64
1 parent eb75200 commit b4c2ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nostrdb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
//#define DEBUG 1
1919

20-
#ifdef DEBUG
20+
#ifdef NDB_LOG
2121
#define ndb_debug(...) printf(__VA_ARGS__)
2222
#else
2323
#define ndb_debug(...) (void)0

0 commit comments

Comments
 (0)