X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_first.c;h=4fb4a4ef10c08e670d521fb193c12d91de9ef597;hb=591bd42a2c2ef80a7e1753e00001ea0633978660;hp=fe5d17454596a45c00900886a614dd758fe39786;hpb=e357fb7d089224a089b6b34699f592a29a20fd59;p=rrdtool.git diff --git a/src/rrd_first.c b/src/rrd_first.c index fe5d174..4fb4a4e 100644 --- a/src/rrd_first.c +++ b/src/rrd_first.c @@ -1,11 +1,12 @@ /***************************************************************************** - * RRDtool 1.3.1 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 ***************************************************************************** * rrd_first Return ***************************************************************************** * Initial version by Burton Strauss, ntopSupport.com - 3/2005 *****************************************************************************/ +#include #include "rrd_tool.h" @@ -65,6 +66,7 @@ time_t rrd_first_r( rrd_t rrd; rrd_file_t *rrd_file; + rrd_init(&rrd); rrd_file = rrd_open(filename, &rrd, RRD_READONLY); if (rrd_file == NULL) { goto err_free;