nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit b4c2ff3d270a43fe4d4f8a94fed418dd84c21759
parent eb7520086517aaedd2338151b39913ec52fbca53
Author: Ken Sedgwick <ken@bonsai.com>
Date:   Mon, 30 Dec 2024 11:36:06 -0800

Only log to stdout if NDB_LOG is defined

Closes: https://github.com/damus-io/nostrdb/pull/64

Diffstat:
Msrc/nostrdb.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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