summaryrefslogtreecommitdiff
path: root/src/util/common_logging.c
diff options
context:
space:
mode:
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))))