fix bug parsing `no'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2634 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-25 15:36:06 +00:00
parent ee55ac0ab2
commit 358e048a00

View File

@@ -172,7 +172,7 @@ arg_match_long(struct getargs *args, size_t num_args,
partial = &args[i];
optarg = p + p_len;
} else if (args[i].type == arg_flag
&& strncmp (argv, "no-", 3) == 0) {
&& strncmp (p, "no-", 3) == 0) {
negate = !negate;
p += 3;
p_len -= 3;