diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-14 09:46:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-14 09:46:35 +0100 |
commit | 958715d7faef07ad788b90591e2f2d6fafb9e383 (patch) | |
tree | fec961c928695266888178ca31e93d6e1844e716 /src/libserver/dkim.c | |
parent | 560d27b0de840d090666d295b0444c070f2c0a19 (diff) | |
download | rspamd-958715d7faef07ad788b90591e2f2d6fafb9e383.tar.gz rspamd-958715d7faef07ad788b90591e2f2d6fafb9e383.zip |
[Feature] Allow configurable sign headers for DKIM
Issue: #1595
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r-- | src/libserver/dkim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index fe7e5e8ea..eb8c193b5 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -365,7 +365,7 @@ rspamd_dkim_parse_hdrlist_common (struct rspamd_dkim_common_ctx *ctx, gchar *h; gboolean from_found = FALSE; guint count = 0; - struct rspamd_dkim_header *new, *check; + struct rspamd_dkim_header *new; GHashTable *htb; p = param; @@ -405,7 +405,7 @@ rspamd_dkim_parse_hdrlist_common (struct rspamd_dkim_common_ctx *ctx, g_ptr_array_add (ctx->hlist, new); - if ((check = g_hash_table_lookup (htb, h)) != NULL) { + if (g_hash_table_lookup (htb, h) != NULL) { new->count++; } else { |