aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/milter.c2
1 files changed, 1 insertions, 1 deletions
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,