Skip to content

Commit

Permalink
Only log to stdout if NDB_LOG is defined
Browse files Browse the repository at this point in the history
Closes: #64
  • Loading branch information
ksedgwic authored and jb55 committed Jan 5, 2025
1 parent eb75200 commit b4c2ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nostrdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

//#define DEBUG 1

#ifdef DEBUG
#ifdef NDB_LOG
#define ndb_debug(...) printf(__VA_ARGS__)
#else
#define ndb_debug(...) (void)0
Expand Down

0 comments on commit b4c2ff3

Please sign in to comment.