X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=log.c;h=f3b5cbde7a3dd1f611aff40b4ea4a74ebaf1e6e7;hb=05c5a203b95e9499b7e3e726c700479cf24f70fe;hp=84f5a86abd610240bff0031a805213dc2aaa4589;hpb=328292c7927b477d9a732f21732edf5885d67793;p=secnet.git diff --git a/log.c b/log.c index 84f5a86..f3b5cbd 100644 --- a/log.c +++ b/log.c @@ -49,12 +49,7 @@ FORMAT(printf,2,0) static void vMessage(uint32_t class, const char *message, va_list args) { - if (system_log) { - /* Messages go to the system log interface */ - vslilog_part(system_log, class, message, args); - } else { - vMessageFallback(class,message,args); - } + vslilog_part(system_log, class, message, args); } void Message(uint32_t class, const char *message, ...)