diff options
-rw-r--r-- | source3/nsswitch/wbinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 571a1b3e19..89ffa6b5b3 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -1293,7 +1293,7 @@ int main(int argc, char **argv) WBFLAG_PAM_INFO3_TEXT; fstring tok; int i; - const char *arg[] = { string_arg, NULL }; + const char *arg[] = { NULL, NULL }; const char *cctypes[] = { "FILE", "KCM", "KCM:0", @@ -1301,6 +1301,8 @@ int main(int argc, char **argv) NULL, "0"}; + arg[0] = string_arg; + while (next_token(arg, tok, LIST_SEP, sizeof(tok))) { for (i=0; i < ARRAY_SIZE(cctypes); i++) { |