]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-diff.c
Switch to exclusively using global ctx
[ps-cgit] / ui-diff.c
index 5ccd03e5d113b48717cf5e8db6e7c54b5971730a..71273aa4a92399473ca184ca87dba3f85b522c69 100644 (file)
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -407,7 +407,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
                diff_setup_done(&diffopt);
 
                ctx.page.mimetype = "text/plain";
-               cgit_print_http_headers(&ctx);
+               cgit_print_http_headers();
                if (old_tree_sha1) {
                        diff_tree_sha1(old_tree_sha1, new_tree_sha1, "",
                                       &diffopt);