aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-23 16:43:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-23 16:43:17 +0100
commited9d4ec8c8b62664f0157ccb6dceaba264e1891b (patch)
treed0a7d99cb7116d1b93a93896a7d338d225e95671
parent50753081cc9a6fc30d3be8ad7979c8d1000132fd (diff)
downloadrspamd-ed9d4ec8c8b62664f0157ccb6dceaba264e1891b.tar.gz
rspamd-ed9d4ec8c8b62664f0157ccb6dceaba264e1891b.zip
[Minor] Fix misprint
-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,