X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/45c87ca1c32dcd5ffd4a681fadf05627d9ce7770..113f4b85886bc5eb6b319fd048623b8d43b7bce0:/parsing.c diff --git a/parsing.c b/parsing.c index 9dacb16..b8d7f10 100644 --- a/parsing.c +++ b/parsing.c @@ -21,6 +21,7 @@ void cgit_parse_url(const char *url) struct cgit_repo *repo; ctx.repo = NULL; + ctx.qry.page = NULL; if (!url || url[0] == '\0') return; @@ -53,7 +54,6 @@ void cgit_parse_url(const char *url) } if (cmd[1]) ctx.qry.page = xstrdup(cmd + 1); - return; } }