From: Florian Forster Date: Tue, 6 Jul 2010 07:20:04 +0000 (+0200) Subject: "graph" action: Print the "X-Generator" header on generated graphs, too. X-Git-Tag: v4.0.0~154 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=936d4acf83a2d483346801d685ecdbf157608205;p=collection4.git "graph" action: Print the "X-Generator" header on generated graphs, too. --- diff --git a/src/action_graph.c b/src/action_graph.c index 492e5e7..f9322d8 100644 --- a/src/action_graph.c +++ b/src/action_graph.c @@ -21,6 +21,8 @@ * Florian octo Forster **/ +#include "config.h" + #include #include #include @@ -208,6 +210,7 @@ static int output_graph (graph_data_t *data) /* {{{ */ if (status == 0) printf ("Expires: %s\n", time_buffer); + printf ("X-Generator: "PACKAGE_STRING"\n"); printf ("\n"); fwrite (img->value.u_blo.ptr, img->value.u_blo.size,