summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ba25ed)
raw | patch | inline | side by side (parent: 8ba25ed)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 27 Nov 2003 06:30:36 +0000 (06:30 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 27 Nov 2003 06:30:36 +0000 (06:30 +0000) |
src/rrd_cgi.c | patch | blob | history |
diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c
index 4a707929f02090eecac98d8922d87048553c3e26..aacda1b751696983dbec79230e07a46f9b95a59d 100644 (file)
--- a/src/rrd_cgi.c
+++ b/src/rrd_cgi.c
* */
#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;
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()) {