aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/str_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index 7a94a4df1..37250c6fc 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -1954,8 +1954,7 @@ rspamd_encode_qp2047_buf (const gchar *in, gsize inlen,
*o++ = c;
}
else if (c == ' ') {
- *o++ = "_";
- in++;
+ *o++ = '_';
}
else if (end - o >= 3){
*o++ = '=';