X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fwrite_http.c;h=b3baa555d2393fb7f3d48903afb5cdd4528a7c5b;hp=a7bb2e0f40600917685605df709a95bc7b98d885;hb=e1fda36ff7e4b5f508b630b614b182e298d91fb7;hpb=bf70b5ba18d3fc58f976f2923ecf7135900537a7 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;