aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
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 ++;