projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f19b2eb
)
fixed a typo in a for() loop
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Fri, 2 Feb 1996 04:52:53 +0000
(
04:52
+0000)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Fri, 2 Feb 1996 04:52:53 +0000
(
04:52
+0000)
parse.c
patch
|
blob
|
history
diff --git
a/parse.c
b/parse.c
index e9733e86c46981c10e570aedfe3f164a67d71247..806eca9c46ca9b654441b6ea1dedb5f0c3b7b7b5 100644
(file)
--- 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, s
udoers_args=sa
; *ua && *sa; ua++, sa++) {
+ for (ua=user_args, s
a=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);