nostrdb

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

commit f81786b8ee67f4a7444c89bc2ac4c94076485361
parent 3fe17c29d970f14a83d1d7d5722468814167a883
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 13 Dec 2023 17:56:57 -0800

cursor: fix warning that build.rs is complaining about

Diffstat:
Mcursor.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cursor.h b/cursor.h @@ -462,9 +462,8 @@ static inline int pull_bytes(struct cursor *cur, int count, const u8 **bytes) { } static inline int parse_str(struct cursor *cur, const char *str) { - int i; char c, cs; - unsigned long len; + unsigned long i, len; len = strlen(str);