commit cb5cc63: [Minor] Milter: RSET does not clear helo

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Sep 9 10:35:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-09 11:17:08 +0100
URL: https://github.com/rspamd/rspamd/commit/cb5cc63efe9e6007ac3900d92717290a8e691a03

[Minor] Milter: RSET does not clear helo

---
 src/libserver/milter.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 2dfe7a53b..5cef1dfa2 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -135,11 +135,6 @@ rspamd_milter_session_reset (struct rspamd_milter_session *session,
 			session->from = NULL;
 		}
 
-		if (session->helo) {
-			msg_debug_milter ("cleanup helo");
-			session->helo->len = 0;
-		}
-
 		if (priv->headers) {
 			msg_debug_milter ("cleanup headers");
 			gchar *k;


More information about the Commits mailing list