From ed9d4ec8c8b62664f0157ccb6dceaba264e1891b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 23 Aug 2018 16:43:17 +0100 Subject: [Minor] Fix misprint --- src/libserver/milter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/milter.c b/src/libserver/milter.c index fac46da1a..4f6d05d6a 100644 --- a/src/libserver/milter.c +++ b/src/libserver/milter.c @@ -575,7 +575,7 @@ rspamd_milter_process_command (struct rspamd_milter_session *session, k = kh_get (milter_headers_hash_t, priv->headers, (gchar *)pos); - if (k != kh_end (priv->headers)) { + if (k == kh_end (priv->headers)) { GArray *ar; k = kh_put (milter_headers_hash_t, priv->headers, -- cgit v1.2.3