summaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-12-26 19:52:31 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2021-12-26 19:52:31 +0100
commita10a8fb335e5a817e1a9add49ee179394eea67c4 (patch)
tree70ea95120f4390a6a5f32cda5a8bf1d45e4e0487 /src/log.c
parent0.0.16, read debian/changelog (diff)
downloadsear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.gz
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.bz2
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.lz
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.xz
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.zst
sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.zip
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index e7ee4f8..4c46804 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,5 +1,5 @@
-const char * sc_log_str (int t) {
- switch (t) {
+const char * sc_log_str (SC_OPT_TYPE t) {
+ switch (t & SC_LOG_MASK) {
case SC_LOG_ERROR:
return "SC_LOG_ERROR";
case SC_LOG_WARNING: