projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c95b05
)
write_graphite plugin: Use CR-LF line endings.
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
src/write_graphite.c
patch
|
blob
|
history
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
de2266e
..
2d61cac
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-439,7
+439,7
@@
static int wg_send_message (const char* key, const char* value,
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));