aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index fba97d7..5dcba76 100644
--- a/cgit.c
+++ b/cgit.c
@@ -153,6 +153,7 @@ int main(int argc, const char **argv)
153 cgit_parse_query(cgit_querystring, cgit_querystring_cb); 153 cgit_parse_query(cgit_querystring, cgit_querystring_cb);
154 154
155 if (cgit_nocache) { 155 if (cgit_nocache) {
156 cache_prepare(&item);
156 item.fd = STDOUT_FILENO; 157 item.fd = STDOUT_FILENO;
157 cgit_fill_cache(&item); 158 cgit_fill_cache(&item);
158 } else { 159 } else {