commit 29fa4ecf2ebb8974e9d711551787cbc128c8663c
parent 518fdffce9c2cb392b794ce5242b16caf26b60b4
Author: William Casarin <jb55@jb55.com>
Date: Mon, 13 Nov 2023 10:29:40 -0800
build: fix invalid function name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nostrdb/nostrdb.c b/nostrdb/nostrdb.c
@@ -688,7 +688,7 @@ int ndb_get_tsid(struct ndb_txn *txn, enum ndb_dbs db, const unsigned char *id,
k.mv_size = sizeof(tsid);
if ((rc = mdb_cursor_open(txn->mdb_txn, txn->lmdb->dbs[db], &cur))) {
- ndb_debug("ndb_get_tsid: failed to open cursor: '%s'\n", mdb_errstr(rc));
+ ndb_debug("ndb_get_tsid: failed to open cursor: '%s'\n", mdb_strerror(rc));
return 0;
}