From 2c31c879e1ed7417e9b612de18de41040a499922 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 8 Feb 2012 18:25:03 +0100 Subject: [PATCH] write_graphite plugin: Use CR-LF line endings. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_graphite.c b/src/write_graphite.c index de2266e8..2d61cac0 100644 --- 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)); -- 2.11.0