summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1996-02-02 04:52:53 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1996-02-02 04:52:53 +0000
commitd76d6437b077e66d3edde6f394d8e21146494f0b (patch)
tree146812a86d1e4e762ed1a6b4fb3c879575e6ba58 /parse.c
parent73f846567daa24303745c3af36ca3642edc1f920 (diff)
downloadsudo-d76d6437b077e66d3edde6f394d8e21146494f0b.tar.gz
fixed a typo in a for() loop
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.c b/parse.c
index e9733e86c..806eca9c4 100644
--- a/parse.c
+++ b/parse.c
@@ -386,9 +386,9 @@ static int compare_args(user_args, sudoers_args)
{
char **ua, **sa;
- for (ua=user_args, sudoers_args=sa; *ua && *sa; ua++, sa++) {
+ for (ua=user_args, sa=sudoers_args; *ua && *sa; ua++, sa++) {
/* only do wildcard match if there are meta chars */
- /* XXX - is this really any faster? */
+ /* XXX - is this really any faster than wildmat() for all? */
if (has_meta(*sa)) {
if (wildmat(*ua, *sa) != 1)
return(FALSE);