From 820879637ff7c3d379a91ab0dd4d717d950238c2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 30 Aug 2009 11:12:19 +0200 Subject: [PATCH] =?utf8?q?write=5Fhttp=20plugin:=20Send=20=E2=80=9C\r\n?= =?utf8?q?=E2=80=9D=20line=20endings.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/write_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: " -- 2.11.0