diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-03-27 19:13:28 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-03-27 19:13:28 +1100 |
commit | 1f0467562b50e29eabae070c3d0088d4fc62d3a0 (patch) | |
tree | 50a7c7798ec5d517c55bdea2aa62817ab7d2cb28 /source4/heimdal/kpasswd | |
parent | f47454a04d7656e93de7286e1105119fe80cb366 (diff) | |
download | samba-1f0467562b50e29eabae070c3d0088d4fc62d3a0.tar.gz samba-1f0467562b50e29eabae070c3d0088d4fc62d3a0.tar.bz2 samba-1f0467562b50e29eabae070c3d0088d4fc62d3a0.zip |
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 7dd146072cd9b56d660a01f4aa20f8d81be356e8
Andrew Bartlett
Diffstat (limited to 'source4/heimdal/kpasswd')
-rw-r--r-- | source4/heimdal/kpasswd/kpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal/kpasswd/kpasswd.c b/source4/heimdal/kpasswd/kpasswd.c index 57c989719e..0258c1ac09 100644 --- a/source4/heimdal/kpasswd/kpasswd.c +++ b/source4/heimdal/kpasswd/kpasswd.c @@ -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) |