Unidiff1 files changed, 3 insertions, 0 deletions
|
diff --git a/shared.c b/shared.c index 18b795b..7def51a 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -38,2 +38,3 @@ char *cgit_query_page = NULL; |
38 | char *cgit_query_head = NULL; |
38 | char *cgit_query_head = NULL; |
| |
39 | char *cgit_query_search = NULL; |
39 | char *cgit_query_sha1 = NULL; |
40 | char *cgit_query_sha1 = NULL; |
@@ -88,2 +89,4 @@ void cgit_querystring_cb(const char *name, const char *value) |
88 | cgit_query_page = xstrdup(value); |
89 | cgit_query_page = xstrdup(value); |
| |
90 | } else if (!strcmp(name, "q")) { |
| |
91 | cgit_query_search = xstrdup(value); |
89 | } else if (!strcmp(name, "h")) { |
92 | } else if (!strcmp(name, "h")) { |
|