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 8e91a227f300a8e3c1caac429a7c71154a8879cd..d0db89a7ed04d868eeecade35c526f88bf8c0357 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) {