chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328292c
)
log: Remove a now-redundant conditional
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 10:19:02 +0000
(10:19 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:54 +0000
(21:56 +0000)
system_log is always non-NULL now.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
log.c
patch
|
blob
|
history
diff --git
a/log.c
b/log.c
index 84f5a86abd610240bff0031a805213dc2aaa4589..f3b5cbde7a3dd1f611aff40b4ea4a74ebaf1e6e7 100644
(file)
--- 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, ...)