aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/milter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/milter.c')
-rw-r--r--src/libserver/milter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 3a3f9af14..70ccdd942 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -331,10 +331,14 @@ rspamd_milter_process_command (struct rspamd_milter_session *session,
*/
if (session->hostname == NULL) {
session->hostname = rspamd_fstring_new_init (pos, zero - pos);
+ msg_debug_milter ("got hostname on connect phase: %V",
+ session->hostname);
}
else {
session->hostname = rspamd_fstring_assign (session->hostname,
pos, zero - pos);
+ msg_debug_milter ("rewrote hostname on connect phase: %V",
+ session->hostname);
}
pos = zero + 1;