summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)
cgit_parse_query(cgit_querystring, cgit_querystring_cb);
if (cgit_nocache) {
+ cache_prepare(&item);
item.fd = STDOUT_FILENO;
cgit_fill_cache(&item);
} else {