]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-blob.c
Switch to exclusively using global ctx
[ps-cgit] / ui-blob.c
index 608926ea0669187d33cb3296c0000b8d72b94ca5..9c99519d997276d9962e346da075a6f8b777ee07 100644 (file)
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -164,6 +164,6 @@ void cgit_print_blob(const char *hex, char *path, const char *head, int file_onl
                        ctx.page.mimetype = "text/plain";
        }
        ctx.page.filename = path;
-       cgit_print_http_headers(&ctx);
+       cgit_print_http_headers();
        html_raw(buf, size);
 }