]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-atom.c
Switch to exclusively using global ctx
[cgit.git] / ui-atom.c
index 838f220ae301700ff50e61e1bcbfee5f3f0e7bce..b22d745a92c5b8e4fe414337b48a7139bbce2f18 100644 (file)
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -108,7 +108,7 @@ void cgit_print_atom(char *tip, char *path, int max_count)
        host = cgit_hosturl();
        ctx.page.mimetype = "text/xml";
        ctx.page.charset = "utf-8";
-       cgit_print_http_headers(&ctx);
+       cgit_print_http_headers();
        html("<feed xmlns='http://www.w3.org/2005/Atom'>\n");
        html("<title>");
        html_txt(ctx.repo->name);