From f2a96536795237d1b4b19248ab6cdff7b8e1a8dd Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Thu, 11 Jun 2015 23:45:27 +0200 Subject: [PATCH] for for #623 we already have a pointer there ... --- src/rrd_modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_modify.c b/src/rrd_modify.c index fbd20164..7d9818c2 100644 --- a/src/rrd_modify.c +++ b/src/rrd_modify.c @@ -345,7 +345,7 @@ static int add_dss(const rrd_t UNUSED(*in), rrd_t *out, out, lookup_DS, NULL, &require_version); // check if there is a name clash with an existing DS - if (lookup_DS(&out, added.ds_nam) >= 0) { + if (lookup_DS(out, added.ds_nam) >= 0) { rrd_set_error("Duplicate DS name: %s", added.ds_nam); goto done; } -- 2.47.2