damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

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

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>

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

diff --git a/nostrdb/src/nostrdb.h b/nostrdb/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