diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-16 09:04:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-16 09:04:51 +0000 |
commit | afedbe80fd34d071c75080bd74ddb2387345f449 (patch) | |
tree | df15ce74f7a06871375a88c91ca0ccf0adadd002 /src/util/common_logging.c | |
parent | aea1ff2765ee7f6ba2317e4f68693094effb448d (diff) | |
download | gnunet-afedbe80fd34d071c75080bd74ddb2387345f449.tar.gz gnunet-afedbe80fd34d071c75080bd74ddb2387345f449.zip |
flush
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 7 |
1 files changed, 5 insertions, 2 deletions
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, | |||
260 | { | 260 | { |
261 | struct CustomLogger *pos; | 261 | struct CustomLogger *pos; |
262 | if (GNUNET_stderr != NULL) | 262 | if (GNUNET_stderr != NULL) |
263 | fprintf (GNUNET_stderr, "%s %s %s %s", datestr, comp, | 263 | { |
264 | GNUNET_error_type_to_string (kind), msg); | 264 | fprintf (GNUNET_stderr, "%s %s %s %s", datestr, comp, |
265 | GNUNET_error_type_to_string (kind), msg); | ||
266 | fflush (GNUNET_stderr); | ||
267 | } | ||
265 | pos = loggers; | 268 | pos = loggers; |
266 | while (pos != NULL) | 269 | while (pos != NULL) |
267 | { | 270 | { |