commit 1fcbba5041553a388ca9f1cc89599b7a043101dd parent 20299615ba9389ca4458d9c67e457e0e2fc0ca2e Author: William Casarin <jb55@jb55.com> Date: Fri, 17 Nov 2023 08:57:36 -0800 parser: fix url parse regression Diffstat:
M | damus-c/damus.c | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/damus-c/damus.c b/damus-c/damus.c @@ -205,9 +205,7 @@ static int parse_url(struct cursor *cur, struct note_block *block) { copy_cursor(cur, &path_cur); // skip leading / - if (!cursor_skip(&path_cur, 1)) { - return 0; - } + cursor_skip(&path_cur, 1); if (!consume_url_path(cur)) { cur->p = start;