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:
Andrew Bartlett
2010-03-27 19:13:28 +11:00
committed by Love Hornquist Astrand
parent aaf310f99e
commit d9f4d53dda

View File

@@ -132,8 +132,8 @@ main (int argc, char **argv)
print_version(NULL);
return 0;
}
argc -= optind;
argv += optind;
argc -= optidx;
argv += optidx;
ret = krb5_init_context (&context);
if (ret)