aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2013-05-23 20:59:13 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2013-05-23 20:59:13 +0200
commitdd34adea7a385b2246e6a7445d2bf71dc86e046b (patch)
tree9f5047334948c1f024f9ac4fd0804637ed0d1dc7 /src
parent92b9a4c6a29580e669e278299fc0ceea1f42be7f (diff)
osmux: remove trailing line break from osmux_snprintf
Diffstat (limited to 'src')
-rw-r--r--src/osmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmux.c b/src/osmux.c
index ad04241..87cb652 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -607,7 +607,7 @@ static int osmux_snprintf_payload(char *buf, size_t size,
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
}
- ret = snprintf(buf+offset, len, "]\n");
+ ret = snprintf(buf+offset, len, "]");
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
return offset;