From: Tobias Oetiker Date: Thu, 11 Jun 2015 21:45:27 +0000 (+0200) Subject: for for #623 we already have a pointer there ... X-Git-Tag: v1.5.4~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a96536795237d1b4b19248ab6cdff7b8e1a8dd;p=thirdparty%2Frrdtool-1.x.git for for #623 we already have a pointer there ... --- 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; }