aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-25 17:15:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-25 17:15:06 +0100
commit8ae24c1e0b11c34e0c6a7c490769ea63762ba7a5 (patch)
tree51c57e1d4426af9f505ff44ec91fa6ab2e960ac5 /src/libutil/str_util.c
parent7404f80d47ce4af8513611ffa29f742bf3934705 (diff)
downloadrspamd-8ae24c1e0b11c34e0c6a7c490769ea63762ba7a5.tar.gz
rspamd-8ae24c1e0b11c34e0c6a7c490769ea63762ba7a5.zip
[Minor] Reduce remain
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r--src/libutil/str_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index cbd1fc005..7edb1b109 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -2252,6 +2252,7 @@ rspamd_decode_uue_buf (const gchar *in, gsize inlen,
#define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )
#define CHAR_OUT(c) do { if (o < out_end) { *o++ = c; } else { return (-1); } } while(0)
+ remain -= pos;
p = p + pos;
SKIP_NEWLINE;