X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_first.c;h=4fb4a4ef10c08e670d521fb193c12d91de9ef597;hb=dfcae0db78ac857b019daf726c315fbcc21ff0a3;hp=f80983d7681c93f99e27262f3ff23580dd98335c;hpb=c24cf5317f753d0bfb376835b4f907462a770384;p=rrdtool.git diff --git a/src/rrd_first.c b/src/rrd_first.c index f80983d..4fb4a4e 100644 --- a/src/rrd_first.c +++ b/src/rrd_first.c @@ -1,11 +1,12 @@ /***************************************************************************** - * RRDtool 1.3rc9 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;