From 8ae24c1e0b11c34e0c6a7c490769ea63762ba7a5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 25 Oct 2019 17:15:06 +0100 Subject: [PATCH] [Minor] Reduce remain --- src/libutil/str_util.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5