s4:heimdal Use correct variable to advance past -- options in kpasswd
This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit 7dd146072c
Andrew Bartlett
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
aaf310f99e
commit
d9f4d53dda
@@ -132,8 +132,8 @@ main (int argc, char **argv)
|
|||||||
print_version(NULL);
|
print_version(NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
argc -= optind;
|
argc -= optidx;
|
||||||
argv += optind;
|
argv += optidx;
|
||||||
|
|
||||||
ret = krb5_init_context (&context);
|
ret = krb5_init_context (&context);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Reference in New Issue
Block a user