From 36654b9ab9e960cc74d0b5a698e1dbf0cc3996fa Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 27 Nov 2003 06:30:36 +0000 Subject: [PATCH] make rrd_cgi build again ... Ian Holsman git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@227 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index 4a707929..aacda1b7 100644 --- a/program/src/rrd_cgi.c +++ b/program/src/rrd_cgi.c @@ -473,7 +473,7 @@ char* rrdgoodfor(long argc, char **args){ * */ #define MAX_STRFTIME_SIZE 256 char* printstrftime(long argc, char **args){ - struct time_value start_tv, end_tv; + struct rrd_time_value start_tv, end_tv; char *parsetime_error = NULL; char formatted[MAX_STRFTIME_SIZE]; struct tm *the_tm; @@ -677,7 +677,7 @@ char* drawgraph(long argc, char **args){ optind=0; /* reset gnu getopt */ opterr=0; /* reset gnu getopt */ calfree(); - if( rrd_graph(argc+1, args-1, &calcpr, &xsize, &ysize) != -1 ) { + if( rrd_graph(argc+1, args-1, &calcpr, &xsize, &ysize,NULL) != -1 ) { return stralloc(calcpr[0]); } else { if (rrd_test_error()) { -- 2.30.2