From 8a1ecaa7c6d49993d45a41e9f6e071cd3435c047 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 17 Mar 2006 11:53:33 +0000 Subject: r14509: Attempt to fix the build on "sun1" (This used to be commit 6704859950eb93d86906d4916cf6842d9a970d2f) --- source3/nsswitch/wbinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3') 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++) { -- cgit