aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/email_addr.c
diff options
context:
space:
mode:
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 1b97a842c..e53cd2aaf 100644
--- a/src/libmime/email_addr.c
+++ b/src/libmime/email_addr.c
@@ -214,7 +214,7 @@ rspamd_email_address_from_mime (rspamd_mempool_t *pool,
* Last token must be the address:
* e.g. Some name name@domain.com
*/
- t = p;
+ t = p - 1;
while (t > c && g_ascii_isspace (*t)) {
t --;