From: Guus Sliepen Date: Tue, 28 May 2013 11:40:32 +0000 (+0200) Subject: Add a newline when logging to stderr in the tinc binary. X-Git-Tag: release-1.1pre8~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbe03b09324dcf930e9bec71a809c66e2d3d77d5;p=oweals%2Ftinc.git Add a newline when logging to stderr in the tinc binary. --- diff --git a/src/info.c b/src/info.c index 8e91a22..d0db89a 100644 --- a/src/info.c +++ b/src/info.c @@ -31,6 +31,7 @@ void logger(int level, int priority, const char *format, ...) { va_start(ap, format); vfprintf(stderr, format, ap); va_end(ap); + fputc('\n', stderr); } char *strip_weight(char *netstr) {