aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/email_addr.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-29 15:45:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-29 15:45:34 +0000
commitd664f2fd52d6050460c9ca0ddebe8ef990fa0fb5 (patch)
tree5f11a8244bfb42826fcf4961642b04610005c39e /src/libmime/email_addr.c
parent36c874383c4c56fb10c737a3f5932abc173080e2 (diff)
downloadrspamd-d664f2fd52d6050460c9ca0ddebe8ef990fa0fb5.tar.gz
rspamd-d664f2fd52d6050460c9ca0ddebe8ef990fa0fb5.zip
[Feature] Allow to get task flags in C expressions
Diffstat (limited to 'src/libmime/email_addr.c')
-rw-r--r--src/libmime/email_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/email_addr.c b/src/libmime/email_addr.c
index e1d52e185..b936af586 100644
--- a/src/libmime/email_addr.c
+++ b/src/libmime/email_addr.c
@@ -137,7 +137,7 @@ rspamd_email_address_add (rspamd_mempool_t *pool,
}
if (name->len > 0) {
- elt->name = rspamd_mime_header_decode (pool, name->str, name->len);
+ elt->name = rspamd_mime_header_decode (pool, name->str, name->len, NULL);
}
g_ptr_array_add (ar, elt);