diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-23 16:08:24 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-23 16:08:24 +0000 |
commit | 2237481903caa32c1b5d5042aaaca0f5ce11e0f1 (patch) | |
tree | 5ba61b5cd001e363c4a8e4f29334dd4d7632b184 /src/libmime/mime_expressions.c | |
parent | 0befc8068f59f4e2c34811fdb898b6ff21da3fd4 (diff) | |
download | rspamd-2237481903caa32c1b5d5042aaaca0f5ce11e0f1.tar.gz rspamd-2237481903caa32c1b5d5042aaaca0f5ce11e0f1.zip |
[Project] Rework API for the modified headers
Diffstat (limited to 'src/libmime/mime_expressions.c')
-rw-r--r-- | src/libmime/mime_expressions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c index ab863aa71..d0c1704ad 100644 --- a/src/libmime/mime_expressions.c +++ b/src/libmime/mime_expressions.c @@ -1264,8 +1264,8 @@ rspamd_header_exists (struct rspamd_task * task, GArray * args, void *unused) return FALSE; } - rh = rspamd_message_get_header_array (task, - (gchar *)arg->data); + rh = rspamd_message_get_header_array(task, + (gchar *) arg->data, FALSE); debug_task ("try to get header %s: %d", (gchar *)arg->data, (rh != NULL)); @@ -1653,7 +1653,7 @@ rspamd_raw_header_exists (struct rspamd_task *task, GArray * args, void *unused) return FALSE; } - return rspamd_message_get_header_array (task, arg->data) != NULL; + return rspamd_message_get_header_array(task, arg->data, FALSE) != NULL; } static gboolean |