diff options
author | Jeremy Allison <jra@samba.org> | 2007-12-06 18:08:01 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-06 18:08:01 -0800 |
commit | e67a6620a7e5e3edb4a6c285841224bc4173fc44 (patch) | |
tree | 21eddbeffbec33aa91adf6110be7497f56854357 /source3/client/client.c | |
parent | c6f03521555e9634f120e1b21ad8cdeb36354d41 (diff) | |
download | samba-e67a6620a7e5e3edb4a6c285841224bc4173fc44.tar.gz samba-e67a6620a7e5e3edb4a6c285841224bc4173fc44.tar.bz2 samba-e67a6620a7e5e3edb4a6c285841224bc4173fc44.zip |
Add popt to binaries in makefile. Hack clitar to compile until I fix it.
Jeremy.
(This used to be commit 252ef28bb8f1406fdd92edba8538cb9e88f0b77f)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 5caad192b6..6514dc76af 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1313,10 +1313,8 @@ static int cmd_mget(void) { TALLOC_CTX *ctx = talloc_tos(); uint16 attribute = aSYSTEM | aHIDDEN; - char *mget_mask; - char *buf; - - *mget_mask = 0; + char *mget_mask = NULL; + char *buf = NULL; if (recurse) { attribute |= aDIR; @@ -4369,7 +4367,7 @@ static int process(const char *base_directory) static int do_host_query(const char *query_host) { - cli = cli_cm_open(talloc_tos(), query_host, "IPC$", true); + cli = cli_cm_open(talloc_tos(), NULL, query_host, "IPC$", true); if (!cli) return 1; @@ -4382,7 +4380,7 @@ static int do_host_query(const char *query_host) cli_cm_shutdown(); cli_cm_set_port( 139 ); - cli = cli_cm_open(talloc_tos(), query_host, "IPC$", true); + cli = cli_cm_open(talloc_tos(), NULL, query_host, "IPC$", true); } if (cli == NULL) { @@ -4575,7 +4573,7 @@ static int do_message_op(void) } /* if the service has already been retrieved then check if we have also a password */ - if (service_opt && (!cmdline_auth_info.got_pass) && poptPeekArg(pc)) { + if (service_opt && (!get_cmdline_auth_info_got_pass()) && poptPeekArg(pc)) { set_cmdline_auth_info_password(poptGetArg(pc)); } |