diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -206,11 +206,12 @@ void send_stored_logs (void) { char *string; char *ptr; - int level; - size_t i; + if (log_message_storage == NULL) + return; + log_message(LOG_DEBUG, "sending stored logs"); for (i = 0; (ssize_t) i != vector_length (log_message_storage); ++i) { |