X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/20b2e9cef70ef6ab6e28904a508569a86a5df7d0..d5c973ccb7da1bc87c5caa5d5ac594bc217016f7:/lib/wildmatch.c diff --git a/lib/wildmatch.c b/lib/wildmatch.c index 1d3f92f4..bda50b8e 100644 --- a/lib/wildmatch.c +++ b/lib/wildmatch.c @@ -19,8 +19,8 @@ #define ABORT_ALL -1 #define ABORT_TO_STARSTAR -2 -#ifdef WILD_TEST_DEPTH -int wildmatch_depth; +#ifdef WILD_TEST_ITERATIONS +int wildmatch_iteration_count; #endif static int domatch(const char *p, const char *text) @@ -28,8 +28,8 @@ static int domatch(const char *p, const char *text) int matched, special; char ch, prev; -#ifdef WILD_TEST_DEPTH - wildmatch_depth++; +#ifdef WILD_TEST_ITERATIONS + wildmatch_iteration_count++; #endif for ( ; (ch = *p) != '\0'; text++, p++) { @@ -108,8 +108,8 @@ static int domatch(const char *p, const char *text) int wildmatch(const char *p, const char *text) { -#ifdef WILD_TEST_DEPTH - wildmatch_depth = 0; +#ifdef WILD_TEST_ITERATIONS + wildmatch_iteration_count = 0; #endif return domatch(p, text) == TRUE; }