pkgsrc/databases/rrdtool12/patches/patch-as
martti b1f04cafc2 Updated databases/rrdtool12
* rrd_graph: fix TICK for negative numbers
* rrd_cgi: fix segfault in error reporting routine
2009-01-22 16:47:30 +00:00

15 lines
383 B
Text

$NetBSD: patch-as,v 1.2 2009/01/22 16:47:30 martti Exp $
Adjust for pkgsrc.
--- src/rrd_cgi.c.orig 2009-01-19 16:29:14.000000000 +0200
+++ src/rrd_cgi.c 2009-01-22 17:53:09.000000000 +0200
@@ -419,7 +419,7 @@
if (!filter) {
printf ("Content-Type: text/html\n"
- "Content-Length: %d\n",
+ "Content-Length: %zd\n",
strlen(buffer));
if (labs(goodfor) > 0) {