X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=efdceab53cec26f65a583303c5b810a93790e570;hb=2f9c0721d1f7e9eceae3d04e197d0e4a46eeb3b1;hp=a063c87766413744ed9fd5291ce3fa646a172b0b;hpb=ad6f3441d407ca0c82b86b481f697ca913844d54;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index a063c87..efdceab 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.2.99907080300 Copyright by Tobi Oetiker, 1997-2007 **************************************************************************** * 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;