]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
for for #623 we already have a pointer there ...
authorTobias Oetiker <tobi@oetiker.ch>
Thu, 11 Jun 2015 21:45:27 +0000 (23:45 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 11 Jun 2015 21:45:27 +0000 (23:45 +0200)
src/rrd_modify.c

index fbd2016457a8b05d118e1845aea4aca736505e39..7d9818c2fb704052fc09f92378097fe915babeb1 100644 (file)
@@ -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;
        }