Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/cgit.c b/cgit.c index 1d7a83f..67ad103 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -240,13 +240,13 @@ int main(int argc, const char **argv) |
240 | htmlfd = STDOUT_FILENO; |
240 | htmlfd = STDOUT_FILENO; |
241 | item.st.st_mtime = time(NULL); |
241 | item.st.st_mtime = time(NULL); |
242 | cgit_repolist.length = 0; |
242 | cgit_repolist.length = 0; |
243 | cgit_repolist.count = 0; |
243 | cgit_repolist.count = 0; |
244 | cgit_repolist.repos = NULL; |
244 | cgit_repolist.repos = NULL; |
245 | |
245 | |
246 | cgit_read_config("/etc/cgitrc", cgit_global_config_cb); |
246 | cgit_read_config(CGIT_CONFIG, cgit_global_config_cb); |
247 | if (getenv("QUERY_STRING")) |
247 | if (getenv("QUERY_STRING")) |
248 | cgit_querystring = xstrdup(getenv("QUERY_STRING")); |
248 | cgit_querystring = xstrdup(getenv("QUERY_STRING")); |
249 | cgit_parse_args(argc, argv); |
249 | cgit_parse_args(argc, argv); |
250 | cgit_parse_query(cgit_querystring, cgit_querystring_cb); |
250 | cgit_parse_query(cgit_querystring, cgit_querystring_cb); |
251 | if (!cgit_prepare_cache(&item)) |
251 | if (!cgit_prepare_cache(&item)) |
252 | return 0; |
252 | return 0; |
|