summary history branches tags files
commit:b92ef5c853a2cf985b9e0ca092abf4dc8d0d58ec
author:Trevor Bentley
committer:Trevor Bentley
date:Thu Dec 3 22:05:10 2020 +0100
parents:02e0308024bba88541e773e8adeab5f0475820d0
fix log policy matcher using wrong type
diff --git a/snitch-log.el b/snitch-log.el
line changes: +1/-1
index 22c6e14..4b3805d
--- a/snitch-log.el
+++ b/snitch-log.el
@@ -137,7 +137,7 @@ log message. "
   "Log a snitch event to the dedicated snitch firewall log
 buffer.  EVENT is an event object, and EVT-TYPE is any policy
 type from ‘snitch-log-policies’."
-  (when (snitch--log-policy-match '(evt-type))
+  (when (snitch--log-policy-match (list evt-type))
     (let* ((name (cond ((eq evt-type 'all) "event")
                        ((eq evt-type 'whitelisted) "whitelisted")
                        ((eq evt-type 'process-whitelisted) "whitelisted")