about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--parsing.c2
1 files changed, 1 insertions, 1 deletions
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;
 	}
 }
 
td>June McEnroe 2018-11-10Add deflateCopy.3June McEnroe 2018-11-10Add deflateSetDictionary.3June McEnroe 2018-11-10Remove initial deflate(3) reference in deflateInit2.3June McEnroe 2018-11-10Remove trailing whitespaceJune McEnroe 2018-11-10Add deflateInit2.3June McEnroe 2018-11-10Refer to deflate(3) for z_streamp typeJune McEnroe 2018-11-10Document z_stream fields in deflate.3June McEnroe 2018-11-10Add inflate.3June McEnroe 2018-11-09Use Pq/Po/Pc moreJune McEnroe 2018-11-09Add FreeBSD MakefileJune McEnroe 2018-11-09Add deflate.3June McEnroe