]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-patch.c
Switch to exclusively using global ctx
[ps-cgit] / ui-patch.c
index 3086608539dd04ed6719950d1686be416cd45bf8..6878a4638d573a2d4790f0527aba22656f76c3d6 100644 (file)
@@ -59,7 +59,7 @@ void cgit_print_patch(const char *new_rev, const char *old_rev,
        patchname = fmt("%s.patch", rev_range);
        ctx.page.mimetype = "text/plain";
        ctx.page.filename = patchname;
-       cgit_print_http_headers(&ctx);
+       cgit_print_http_headers();
 
        if (ctx.cfg.noplainemail) {
                rev_argv[2] = "--format=format:From %H Mon Sep 17 00:00:00 "