aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_logging.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-29 13:54:00 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-29 13:54:00 +0000
commit4063a80951c4c42a49f3811b81b3b642634dcd31 (patch)
tree6f94fefa5c2b61bcc45f1f87bb9eb8b2eb34308e /src/util/common_logging.c
parent722980c056f396b25b5b15d6a805654d02b3c5ef (diff)
downloadgnunet-4063a80951c4c42a49f3811b81b3b642634dcd31.tar.gz
gnunet-4063a80951c4c42a49f3811b81b3b642634dcd31.zip
-fixes
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r--src/util/common_logging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c
index 8ba955dea..873420460 100644
--- a/src/util/common_logging.c
+++ b/src/util/common_logging.c
@@ -922,7 +922,8 @@ mylog (enum GNUNET_ErrorType kind, const char *comp, const char *message,
922 } 922 }
923#endif 923#endif
924 VSNPRINTF (buf, size, message, va); 924 VSNPRINTF (buf, size, message, va);
925 (void) setup_log_file (tmptr); 925 if (NULL != tmptr)
926 (void) setup_log_file (tmptr);
926 if ((0 != (kind & GNUNET_ERROR_TYPE_BULK)) && 927 if ((0 != (kind & GNUNET_ERROR_TYPE_BULK)) &&
927 (last_bulk_time.abs_value != 0) && 928 (last_bulk_time.abs_value != 0) &&
928 (0 == strncmp (buf, last_bulk, sizeof (last_bulk)))) 929 (0 == strncmp (buf, last_bulk, sizeof (last_bulk))))