aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/events.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-21 09:42:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-21 09:42:22 +0100
commitaacb7066482ef7a2cb966bfe2f76c73df80b7466 (patch)
tree98227389b1c00d29165f4337dfebabe4f0dc38e4 /src/libserver/events.c
parent42a4525a65755c22df803265b36c50df4db19091 (diff)
downloadrspamd-aacb7066482ef7a2cb966bfe2f76c73df80b7466.tar.gz
rspamd-aacb7066482ef7a2cb966bfe2f76c73df80b7466.zip
[Fix] Use proper syntax for making DNS requests
Diffstat (limited to 'src/libserver/events.c')
-rw-r--r--src/libserver/events.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libserver/events.c b/src/libserver/events.c
index c938945d2..db17f87d6 100644
--- a/src/libserver/events.c
+++ b/src/libserver/events.c
@@ -172,7 +172,7 @@ rspamd_session_add_event (struct rspamd_async_session *session,
new_event->user_data = user_data;
new_event->subsystem = subsystem;
- msg_debug_session ("added event: %p, pending %d events, "
+ msg_debug_session ("added event: %p, pending %d (+1) events, "
"subsystem: %s",
user_data,
kh_size (session->events),
@@ -222,6 +222,11 @@ rspamd_session_remove_event (struct rspamd_async_session *session,
}
found_ev = kh_key (session->events, k);
+ msg_debug_session ("removed event: %p, pending %d (-1) events, "
+ "subsystem: %s",
+ ud,
+ kh_size (session->events),
+ g_quark_to_string (found_ev->subsystem));
kh_del (rspamd_events_hash, session->events, k);
/* Remove event */