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