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