diff options
-rw-r--r-- | src/libmime/email_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/email_addr.c b/src/libmime/email_addr.c index eaf44fc91..f3aa36218 100644 --- a/src/libmime/email_addr.c +++ b/src/libmime/email_addr.c @@ -182,7 +182,7 @@ rspamd_email_address_parse_heuristic (const char *data, size_t len, } if (ret) { - at = memchr (p, '@', len); + at = rspamd_memrchr (p, '@', len); if (at != NULL && at + 1 < end) { addr->domain = at + 1; |