commit 85544a947cc6ae0827850df731e36321170aaeed
parent 76eba1df2aa1049c0de5eadada4624347f74dab4
Author: William Casarin <jb55@jb55.com>
Date: Sat, 22 Jul 2023 09:43:09 -0700
fix indents
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/nostrdb.c b/nostrdb.c
@@ -222,15 +222,14 @@ static inline int ndb_builder_process_json_tags(struct ndb_json_parser *p,
return 1;
for (int i = 0; i < array->size; i++) {
- if (!ndb_builder_tag_from_json_array(p, &tag[i+1]))
+ if (!ndb_builder_tag_from_json_array(p, &tag[i+1]))
return 0;
- tag += tag[i+1].size;
+ tag += tag[i+1].size;
}
return 1;
}
-
int ndb_note_from_json(const char *json, int len, struct ndb_note **note,
unsigned char *buf, int bufsize)
{