Add a newline when logging to stderr in the tinc binary.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 28 May 2013 11:40:32 +0000 (13:40 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 28 May 2013 11:40:32 +0000 (13:40 +0200)
src/info.c

index 8e91a22..d0db89a 100644 (file)
@@ -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) {