--- ruby-rrd-1.1/main.c 2002-10-22 20:10:30.000000000 +0200 +++ main.c 2006-05-10 11:45:43.990351000 +0200 @@ -143,10 +143,15 @@ char **calcpr, **p; VALUE result, print_results; int i, xsize, ysize; - + + double ymin,ymax; //needed by: + FILE *outstream; //rrd_graph (RRDtool 1.2.6) + a = string_arr_new(args); reset_rrd_state(); - rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize); + rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize,outstream, + &ymin,&ymax); //(RRDtool 1.2.6) + //rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize); //(RRDtool 1.0.*) string_arr_delete(a); RRD_CHECK_ERROR