From: Florian Forster Date: Sun, 30 Aug 2009 09:12:19 +0000 (+0200) Subject: write_http plugin: Send ā€œ\r\nā€ line endings. X-Git-Tag: collectd-4.8.0~21 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;ds=sidebyside;h=820879637ff7c3d379a91ab0dd4d717d950238c2;p=collectd.git write_http plugin: Send ā€œ\r\nā€ line endings. --- diff --git a/src/write_http.c b/src/write_http.c index bf689c56..30693e02 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -304,7 +304,7 @@ static int wh_write_command (const data_set_t *ds, const value_list_t *vl, /* {{ } command_len = (size_t) ssnprintf (command, sizeof (command), - "PUTVAL %s interval=%i %s\n", + "PUTVAL %s interval=%i %s\r\n", key, vl->interval, values); if (command_len >= sizeof (command)) { ERROR ("write_http plugin: Command buffer too small: "