X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/8ea07c0030ee9dd2c56d4c8c57139887c0c6794e..3d0a159d96d153144fe3bd2a2c59a62ec2a62d89:/lib/wildmatch.c diff --git a/lib/wildmatch.c b/lib/wildmatch.c index 4b54864f..f3a1731e 100644 --- a/lib/wildmatch.c +++ b/lib/wildmatch.c @@ -165,7 +165,7 @@ static int dowild(const uchar *p, const uchar *text, const uchar*const *a) } else if (p_ch == '[' && p[1] == ':') { const uchar *s; int i; - for (s = p += 2; (p_ch = *p) && p_ch != ']'; p++) {} + for (s = p += 2; (p_ch = *p) && p_ch != ']'; p++) {} /*SHARED ITERATOR*/ if (!p_ch) return ABORT_ALL; i = p - s - 1;