From 62c140168cb9f8b5d7d3b7841fadb60f544a5e27 Mon Sep 17 00:00:00 2001 From: Eduardo Bragatto Date: Sun, 16 Nov 2014 16:46:11 -0200 Subject: [PATCH] Update rrd_tool.c Fixed wrong ending time on RRD xport --- src/rrd_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2