X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/390621a7ab9a58573240fcb926c1c680c51141d5..aa3999d66c322bd60d8efd2af3056cc9659e1b4f:/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;