summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c95b05)
raw | patch | inline | side by side (parent: 4c95b05)
author | Florian Forster <octo@collectd.org> | |
Wed, 8 Feb 2012 17:25:03 +0000 (18:25 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 8 Feb 2012 17:25:03 +0000 (18:25 +0100) |
Using this line ending in ASCII conversations over the network has been a
convention since the 1970s, let's stick with it.
Change-Id: I5d0640e520a70483ab9256989f89e9e2dcab7643
convention since the 1970s, let's stick with it.
Change-Id: I5d0640e520a70483ab9256989f89e9e2dcab7643
src/write_graphite.c | patch | blob | history |
diff --git a/src/write_graphite.c b/src/write_graphite.c
index de2266e85f96f281c0655b806ca2cb53da79ff21..2d61cac094630c8fcf8e694870980678706c76ea 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
char message[1024];
message_len = (size_t) ssnprintf (message, sizeof (message),
- "%s %s %.0f\n",
+ "%s %s %.0f\r\n",
key,
value,
CDTIME_T_TO_DOUBLE(time));