X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fwrite_http.c;h=b3baa555d2393fb7f3d48903afb5cdd4528a7c5b;hb=f66916deea905254061bb07245e007471faf2ecf;hp=a7bb2e0f40600917685605df709a95bc7b98d885;hpb=8c5927c52f4eefebaad3a6ecadc253ee9007ebb5;p=collectd.git diff --git a/src/write_http.c b/src/write_http.c index a7bb2e0f..b3baa555 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;