X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.c;h=d785331f21df4c0115c1a725802f041b4a6b71e8;hb=3882bb0c2d15f97298aaa7602d6353a1888f5547;hp=4abacc7c622ea9794f143cfc99e99f851e0e5c71;hpb=53ab6c5c134c95c71bcb17dfd0b02926f8a29f6e;p=rrdtool.git diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 4abacc7..d785331 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.2.15 Copyright by Tobi Oetiker, 1997-2006 + * RRDtool 1.2.16 Copyright by Tobi Oetiker, 1997-2006 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles ****************************************************************************/ @@ -3519,7 +3519,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im) case 'W': strncpy(im->watermark,optarg,100); - im->watermark[100]='\0'; + im->watermark[99]='\0'; break; case '?':