From 29fa4ecf2ebb8974e9d711551787cbc128c8663c Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 13 Nov 2023 10:29:40 -0800 Subject: [PATCH] build: fix invalid function name --- nostrdb/nostrdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb/nostrdb.c b/nostrdb/nostrdb.c index d745b832..980b98dc 100644 --- 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; }