diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-20 17:10:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-20 17:14:17 +0000 |
commit | d12f1f8c95c37b57281d52ac0af5d00ae68d5dc0 (patch) | |
tree | ea52a1caffcf398fa66fc7e36434fd22769b7f46 /src/libutil/str_util.c | |
parent | 26b115373372d18404febaf8b9d480e83887d799 (diff) | |
download | rspamd-d12f1f8c95c37b57281d52ac0af5d00ae68d5dc0.tar.gz rspamd-d12f1f8c95c37b57281d52ac0af5d00ae68d5dc0.zip |
[Minor] Fix spaces encoding in QP
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r-- | src/libutil/str_util.c | 3 |
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++ = '='; |