From: Christian Grothoff Date: Tue, 16 Mar 2010 09:04:51 +0000 (+0000) Subject: flush X-Git-Tag: initial-import-from-subversion-38251~22454 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=afedbe80fd34d071c75080bd74ddb2387345f449;p=oweals%2Fgnunet.git flush --- diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 13cb17af7..73a374f46 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -260,8 +260,11 @@ output_message (enum GNUNET_ErrorType kind, { struct CustomLogger *pos; if (GNUNET_stderr != NULL) - fprintf (GNUNET_stderr, "%s %s %s %s", datestr, comp, - GNUNET_error_type_to_string (kind), msg); + { + fprintf (GNUNET_stderr, "%s %s %s %s", datestr, comp, + GNUNET_error_type_to_string (kind), msg); + fflush (GNUNET_stderr); + } pos = loggers; while (pos != NULL) {