about summary refs log tree commit diff stats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-snapshot.c')
-rw-r--r--ui-snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c index 85efe64..9461d51 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c
@@ -156,6 +156,7 @@ static int make_snapshot(const struct cgit_snapshot_format *format,
156 ctx.page.mimetype = xstrdup(format->mimetype); 156 ctx.page.mimetype = xstrdup(format->mimetype);
157 ctx.page.filename = xstrdup(filename); 157 ctx.page.filename = xstrdup(filename);
158 cgit_print_http_headers(); 158 cgit_print_http_headers();
159 init_archivers();
159 format->write_func(hex, prefix); 160 format->write_func(hex, prefix);
160 return 0; 161 return 0;
161} 162}