X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_info.c;h=91f49598b134019efa426c81b8aaf67990b19269;hb=9becc239839e47acb1ca494365931cfb750f927c;hp=435086c6b68ca3b65a981fdf7ca6cca281cdd145;hpb=31f6e9071af7d014dac71d42d61594016832868c;p=rrdtool.git diff --git a/src/rrd_info.c b/src/rrd_info.c index 435086c..91f4959 100644 --- a/src/rrd_info.c +++ b/src/rrd_info.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.2 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.19 Copyright by Tobi Oetiker, 1997-2007 ***************************************************************************** * rrd_info Get Information about the configuration of an RRD *****************************************************************************/ @@ -117,7 +117,7 @@ rrd_info_r(char *filename) { switch (current_ds) { case DST_CDEF: { - char *buffer = 0; + char *buffer = NULL; rpn_compact2str((rpn_cdefds_t *) &(rrd.ds_def[i].par[DS_cdef]), rrd.ds_def, &buffer); info.u_str = buffer;