commit 526c3ae: [Minor] Return early from quit command

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Nov 14 13:56:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-11-14 13:55:36 +0000
URL: https://github.com/rspamd/rspamd/commit/526c3aedfcc17353fab76dfd3a4f393264b3bc2f (HEAD -> master)

[Minor] Return early from quit command

---
 src/libserver/milter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 5cef1dfa2..e97b0381e 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -1060,6 +1060,7 @@ rspamd_milter_handle_session (struct rspamd_milter_session *session,
 	case RSPAMD_MILTER_WANNA_DIE:
 		/* We are here after processing everything, so release session */
 		REF_RELEASE (session);
+		return FALSE;
 		break;
 	}
 


More information about the Commits mailing list