projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
it is sufficient to set the last item to 0
[rrdtool.git]
/
src
/
rrd_graph.c
diff --git
a/src/rrd_graph.c
b/src/rrd_graph.c
index
ad6ef4a
..
4abacc7
100644
(file)
--- a/
src/rrd_graph.c
+++ b/
src/rrd_graph.c
@@
-3519,7
+3519,7
@@
rrd_graph_options(int argc, char *argv[],image_desc_t *im)
case 'W':
strncpy(im->watermark,optarg,100);
- im->watermark[
99
]='\0';
+ im->watermark[
100
]='\0';
break;
case '?':