From cc307a96e23a6079d60a05f785e6a51e4a635435 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/program@227 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 4a70792..aacda1b 100644 --- a/src/rrd_cgi.c +++ b/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