diff options
author | Wayne Davison <wayned@samba.org> | 2003-07-05 19:03:42 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2003-07-05 19:03:42 +0000 |
commit | d5c973ccb7da1bc87c5caa5d5ac594bc217016f7 (patch) | |
tree | 63fef9a8da15f262284bbc0fbe8984f1c7e45efb /lib | |
parent | 37f3ce61bbc464d6c95978590469e9c71f7b535f (diff) | |
download | rsync-d5c973ccb7da1bc87c5caa5d5ac594bc217016f7.tar.gz rsync-d5c973ccb7da1bc87c5caa5d5ac594bc217016f7.tar.bz2 rsync-d5c973ccb7da1bc87c5caa5d5ac594bc217016f7.zip |
Changed some names since "depth" wasn't really the right term.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/wildmatch.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |