From: Arran Cudbard-Bell Date: Fri, 18 Sep 2020 19:57:04 +0000 (-0500) Subject: Strip runs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6ab2f4e87cdc4a127eb088fb1ca101ccef904e4;p=thirdparty%2Ffreeradius-server.git Strip runs --- diff --git a/scripts/jlibtool.c b/scripts/jlibtool.c index 172be30a82c..69733787122 100644 --- a/scripts/jlibtool.c +++ b/scripts/jlibtool.c @@ -425,7 +425,7 @@ static void strip_double_chars(char *str, char c) char *end = p + len; while (p < end) { - if ((p[0] == c) && (p[1] == c)) p++; + while ((p[0] == c) && (p[1] == c)) p++; *out++ = *p++; } *out = '\0';