Code

"graph" action: Print the "X-Generator" header on generated graphs, too.
authorFlorian Forster <ff@octo.it>
Tue, 6 Jul 2010 07:20:04 +0000 (09:20 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 6 Jul 2010 07:20:04 +0000 (09:20 +0200)
src/action_graph.c

index 492e5e7245581233a7c158f26e3a90c05257bb5d..f9322d858000ae5148132102e606cb6e6521f9ea 100644 (file)
@@ -21,6 +21,8 @@
  *   Florian octo Forster <ff at octo.it>
  **/
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -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,