summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-17 11:53:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:35 -0500
commit8a1ecaa7c6d49993d45a41e9f6e071cd3435c047 (patch)
treec5a7f0a6720472fc84d7a36f4f426b17f0bae987
parented8bfb44d376d62b27650ced4114dfabc383428c (diff)
downloadsamba-8a1ecaa7c6d49993d45a41e9f6e071cd3435c047.tar.gz
samba-8a1ecaa7c6d49993d45a41e9f6e071cd3435c047.tar.bz2
samba-8a1ecaa7c6d49993d45a41e9f6e071cd3435c047.zip
r14509: Attempt to fix the build on "sun1"
(This used to be commit 6704859950eb93d86906d4916cf6842d9a970d2f)
-rw-r--r--source3/nsswitch/wbinfo.c4
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++) {