]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-blob.c
Add a cache-snapshot-ttl configuration variable
[ps-cgit] / ui-blob.c
index eb14a754c8e9995b3def375b1988544a54d7197f..9c99519d997276d9962e346da075a6f8b777ee07 100644 (file)
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -1,7 +1,6 @@
 /* ui-blob.c: show blob content
  *
 /* ui-blob.c: show blob content
  *
- * Copyright (C) 2008 Lars Hjemli
- * Copyright (C) 2010-2013 Jason A. Donenfeld <Jason@zx2c4.com>
+ * 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)
@@ -165,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;
                        ctx.page.mimetype = "text/plain";
        }
        ctx.page.filename = path;
-       cgit_print_http_headers(&ctx);
+       cgit_print_http_headers();
        html_raw(buf, size);
 }
        html_raw(buf, size);
 }