damus

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

commit 099b588be28e87a293f2360c9a20c59cb835c040
parent 75c7adddb84b02d2409ca969e8d8cf209caa54cf
Author: shuoer86 <129674997+shuoer86@users.noreply.github.com>
Date:   Fri,  5 Jan 2024 23:26:30 +0800

nostrdb/Fix typos

Closes: https://github.com/damus-io/nostrdb/pull/25
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/src/bolt11/tal.h | 4++--
Mnostrdb/src/nostrdb.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nostrdb/src/bolt11/tal.h b/nostrdb/src/bolt11/tal.h @@ -387,7 +387,7 @@ tal_t *tal_parent(const tal_t *ctx); * @type: the type (should match type of @p!) * @p: the tal array to copy (or resized & reparented if take()) * - * The comon case of duplicating an entire tal array. + * The common case of duplicating an entire tal array. */ #define tal_dup_talarr(ctx, type, p) \ ((type *)tal_dup_talarr_((ctx), tal_typechk_(p, type *), \ @@ -418,7 +418,7 @@ tal_t *tal_parent(const tal_t *ctx); * @error_fn: called on errors or NULL (default is abort) * * The defaults are set up so tal functions never return NULL, but you - * can override erorr_fn to change that. error_fn can return, and is + * can override error_fn to change that. error_fn can return, and is * called if alloc_fn or resize_fn fail. * * If any parameter is NULL, that function is unchanged. diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c @@ -268,7 +268,7 @@ static int ndb_make_text_search_key(unsigned char *buf, int bufsize, // TODO: need update this to uint64_t // we push this first because our query function can pull this off - // quicky to check matches + // quickly to check matches if (!cursor_push_varint(&cur, (int32_t)note_id)) return 0;