X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=8cb9689b6a944b43d4e05232a2147b8bd2ec422d;hb=9cd66f2d7fbf16ca07e1709cd156ae78cd0da278;hp=a063c87766413744ed9fd5291ce3fa646a172b0b;hpb=ad6f3441d407ca0c82b86b481f697ca913844d54;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index a063c87..8cb9689 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.2.23 Copyright by Tobi Oetiker, 1997-2007 + * RRDtool 1.3rc7 Copyright by Tobi Oetiker, 1997-2008 **************************************************************************** * rrd_xport.c export RRD data ****************************************************************************/ @@ -177,7 +177,7 @@ int rrd_xport_fn( unsigned long nof_xports = 0; unsigned long xport_counter = 0; - unsigned long *ref_list; + int *ref_list; rrd_value_t **srcptr_list; char **legend_list; int ii = 0; @@ -204,7 +204,6 @@ int rrd_xport_fn( break; } } - if (nof_xports == 0) { rrd_set_error("no XPORT found, nothing to do"); return -1;