]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Another fix for multircpt
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 22 Dec 2016 17:17:39 +0000 (17:17 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 22 Dec 2016 17:17:39 +0000 (17:17 +0000)
src/libmime/email_addr.c

index 1b97a842cee2c1d471951c459f431907a1947a37..e53cd2aafcdbc5a549f6aff6816c15026a0f77e8 100644 (file)
@@ -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 --;