From: Florian Forster Date: Sun, 27 Jun 2010 11:57:17 +0000 (+0200) Subject: src/utils_cgi.c: Print a "X-Generator" message in the HTTP header. X-Git-Tag: v4.0.0~173 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5369fa3b5dc021e9b0bb58dd79f40d41a5f85c6c;p=collection4.git src/utils_cgi.c: Print a "X-Generator" message in the HTTP header. --- diff --git a/src/utils_cgi.c b/src/utils_cgi.c index 96b1b82..ed4c446 100644 --- a/src/utils_cgi.c +++ b/src/utils_cgi.c @@ -1,3 +1,5 @@ +#include "config.h" + #include #include #include @@ -549,7 +551,9 @@ int html_print_page (const char *title, /* {{{ */ { char *title_html; - printf ("Content-Type: text/html\n\n"); + printf ("Content-Type: text/html\n" + "X-Generator: "PACKAGE_STRING"\n" + "\n\n"); if (title == NULL) title = "c4: collection4 graph interface";