aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-02 12:00:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-05-02 12:00:48 +0100
commita9b063159312d25427b5baff169a671ede0d38e5 (patch)
treee9554d14b04168e812730298d240108fbeae915a /src/libmime
parent2382edd71de686e80e46399ab3f0d3c07cd4c488 (diff)
downloadrspamd-a9b063159312d25427b5baff169a671ede0d38e5.tar.gz
rspamd-a9b063159312d25427b5baff169a671ede0d38e5.zip
Fix braces removing in email addresses.
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/protocol.c b/src/libmime/protocol.c
index 69d849d52..8f42a08ce 100644
--- a/src/libmime/protocol.c
+++ b/src/libmime/protocol.c
@@ -115,7 +115,7 @@ rspamd_protocol_escape_braces (GString *in)
g_string_erase (in, 0, orig - in->str);
- p = orig;
+ p = in->str;
while ((!g_ascii_isspace (*p) && *p != '>') && p - in->str < (gint)in->len) {
p ++;
len ++;