From 5d306688532afd36b9d02841bd4b0725f6468f3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Fri, 23 Nov 2018 12:52:12 +0100 Subject: [PATCH] Fix loop, sizeof(delims) - Update to https://github.com/oetiker/rrdtool-1.x/commit/2154d02 --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index d0d3d6b6..cdff5ea3 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -6197,7 +6197,7 @@ image_title_t graph_title_split( */ found_pos = 0; found_size = 0; - for(unsigned int i=0; i < sizeof(delims); i++) + for(unsigned int i=0; i < sizeof(delims) / sizeof(delims[0]); i++) { // get size of this delimiter int delim_size = strlen(delims[i]); -- 2.47.3