aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dkim.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-07 14:42:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-07 14:43:15 +0100
commit3ca316cd22f55b484b0a00a5818617dd585325b4 (patch)
treebee7488fb1dac0cd71b89f69abfca38430f622c7 /src/libserver/dkim.c
parentb9ef79d942ab8c71b2b05ca9d0d1adb01d1f0755 (diff)
downloadrspamd-3ca316cd22f55b484b0a00a5818617dd585325b4.tar.gz
rspamd-3ca316cd22f55b484b0a00a5818617dd585325b4.zip
[Minor] Unify substring search routines
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index 43b0f6268..fe7e5e8ea 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1747,7 +1747,7 @@ rspamd_dkim_canonize_header (struct rspamd_dkim_common_ctx *ctx,
}
PTR_ARRAY_FOREACH (ar, i, rh) {
- if (rspamd_substring_search_twoway (rh->raw_value,
+ if (rspamd_substring_search (rh->raw_value,
rh->raw_len, dkim_domain,
strlen (dkim_domain)) != -1) {
rspamd_dkim_signature_update (ctx, rh->raw_value,