From: Eduardo Bragatto Date: Sun, 16 Nov 2014 18:46:11 +0000 (-0200) Subject: Update rrd_tool.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62c140168cb9f8b5d7d3b7841fadb60f544a5e27;p=thirdparty%2Frrdtool-1.x.git Update rrd_tool.c Fixed wrong ending time on RRD xport --- diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 47944221..8cec0a89 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -750,7 +750,7 @@ int HandleInputLine( pXJV(" ","%lld",META_START_TAG,(long long int) start + step); pXJV(" ","%lu", META_STEP_TAG, step); - pXJV(" ","%lld",META_END_TAG,(long long int) start + step); + pXJV(" ","%lld",META_END_TAG,(long long int)end); if (! json){ pXJV(" ","%lu", META_ROWS_TAG, row_cnt); pXJV(" ","%lu", META_COLS_TAG, col_cnt);