damus

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

commit 6731471c1745c86fc02d97d41abe54848f3a1029
parent 98359beb047ed700e8502cd6155790d49c5c4cd2
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 26 Jan 2024 11:15:46 -0800

fix build

Diffstat:
Mnostrdb/midl.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/nostrdb/midl.c b/nostrdb/midl.c @@ -172,10 +172,8 @@ int mdb_midl_append_list( MDB_IDL *idp, MDB_IDL app ) { MDB_IDL ids = *idp; - if (ids == 0) { - printf("txn: HITTING MDB_MIDL_APPEND NULL IDS\n"); + if (ids == 0) return EINVAL; - } /* Too big? */ if (ids[0] + app[0] >= ids[-1]) {