]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-diff.c
Makefile: suppress pkg-config error
[ps-cgit] / ui-diff.c
index 7395c4573966adc23a8fb16fb97f0cad21b7bdee..71273aa4a92399473ca184ca87dba3f85b522c69 100644 (file)
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -1,6 +1,6 @@
 /* ui-diff.c: show diff between two blobs
  *
 /* ui-diff.c: show diff between two blobs
  *
- * Copyright (C) 2006 Lars Hjemli
+ * Copyright (C) 2006-2014 cgit Development Team <cgit@lists.zx2c4.com>
  *
  * Licensed under GNU General Public License v2
  *   (see COPYING for full license text)
  *
  * Licensed under GNU General Public License v2
  *   (see COPYING for full license text)
@@ -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";
                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);
                if (old_tree_sha1) {
                        diff_tree_sha1(old_tree_sha1, new_tree_sha1, "",
                                       &diffopt);