13 lines
417 B
Diff
13 lines
417 B
Diff
diff -Naurp rrdtool.orig/php4/rrdtool.c rrdtool/php4/rrdtool.c
|
|
--- rrdtool.orig/php4/rrdtool.c 2007-06-16 01:32:23.000000000 -0400
|
|
+++ rrdtool/php4/rrdtool.c 2008-04-05 23:37:04.000000000 -0400
|
|
@@ -381,7 +381,7 @@ PHP_FUNCTION(rrd_update)
|
|
argv[3] = estrdup(opt->value.str.val);
|
|
|
|
optind = 0; opterr = 0;
|
|
- if ( rrd_update(3, &argv[1]) != -1 )
|
|
+ if ( rrd_update(2, &argv[2]) != -1 )
|
|
{
|
|
RETVAL_TRUE;
|
|
}
|