git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47454a
)
s4:heimdal Use correct variable to advance past -- options in kpasswd
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 27 Mar 2010 08:13:28 +0000
(19:13 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 27 Mar 2010 08:13:28 +0000
(19:13 +1100)
This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit
7dd146072cd9b56d660a01f4aa20f8d81be356e8
Andrew Bartlett
source4/heimdal/kpasswd/kpasswd.c
patch
|
blob
|
history
diff --git
a/source4/heimdal/kpasswd/kpasswd.c
b/source4/heimdal/kpasswd/kpasswd.c
index 57c989719e072c09b3df46203931a88c3a64d236..0258c1ac09ac6fa07cb49d88717320085f7bcbc5 100644
(file)
--- 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 -= opti
nd
;
- argv += opti
nd
;
+ argc -= opti
dx
;
+ argv += opti
dx
;
ret = krb5_init_context (&context);
if (ret)