summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd30029)
raw | patch | inline | side by side (parent: bd30029)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 30 Aug 2009 09:12:19 +0000 (11:12 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 30 Aug 2009 09:12:19 +0000 (11:12 +0200) |
src/write_http.c | patch | blob | history |
diff --git a/src/write_http.c b/src/write_http.c
index bf689c56e72ac5d412014acc7ee1911cc5618c92..30693e02905dec643f422024bc8d5f523fdb8222 100644 (file)
--- 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: "