blob: 57153f9d0c4c44da4a62dbbc77161357466cb960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-as,v 1.1.1.1 2008/07/28 19:48:03 martti Exp $
Adjust for pkgsrc.
--- src/rrd_cgi.c.orig 2006-05-04 15:26:28.000000000 +0200
+++ src/rrd_cgi.c
@@ -418,7 +418,7 @@ int main(int argc, char *argv[]) {
if (!filter) {
printf ("Content-Type: text/html\n"
- "Content-Length: %d\n",
+ "Content-Length: %zd\n",
strlen(buffer));
if (labs(goodfor) > 0) {
|