From: Ruben Kerkhof Date: Wed, 26 Oct 2016 17:31:01 +0000 (+0200) Subject: Merge pull request #2005 from rpv-tomsk/issue-1996 X-Git-Tag: collectd-5.6.2~16 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=1cc8a409058863e20747513d057d5ac471fe1382;hp=5e4f2ae61dc39938c4df857854724ba1d36f3232;p=collectd.git Merge pull request #2005 from rpv-tomsk/issue-1996 write_http: Fixed DS type check --- diff --git a/src/write_http.c b/src/write_http.c index 4a5818c7..f8cc4e8d 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -366,7 +366,7 @@ static int wh_write_command (const data_set_t *ds, const value_list_t *vl, /* {{ if ((cb == NULL) || (cb->send_buffer == NULL)) return -1; - if (strcmp (ds->type, vl->type) == 0) { + if (strcmp (ds->type, vl->type) != 0) { ERROR ("write_http plugin: DS type does not match " "value list type"); return -1;