From: Vsevolod Stakhov Date: Fri, 25 Oct 2019 16:15:06 +0000 (+0100) Subject: [Minor] Reduce remain X-Git-Tag: 2.1~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8ae24c1e0b11c34e0c6a7c490769ea63762ba7a5;p=rspamd.git [Minor] Reduce remain --- 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;