[server] when log_msg() is called fflush() output to stderr (when stderr is used)
authorMichael Rash <mbr@cipherdyne.org>
Fri, 14 Jun 2013 01:21:40 +0000 (21:21 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Fri, 14 Jun 2013 01:21:40 +0000 (21:21 -0400)
server/log_msg.c

index 8293c6f..701d48a 100644 (file)
@@ -164,6 +164,7 @@ log_msg(int level, char* msg, ...)
 
         vfprintf(stderr, msg, apse);
         fprintf(stderr, "\n");
+        fflush(stderr);
 
         va_end(apse);