| -rw-r--r-- | parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,6 @@ void cgit_parse_url(const char *url) struct cgit_repo *repo; ctx.repo = NULL; - ctx.qry.page = NULL; if (!url || url[0] == '\0') return; @@ -54,6 +53,7 @@ void cgit_parse_url(const char *url) } if (cmd[1]) ctx.qry.page = xstrdup(cmd + 1); + return; } } |