diff options
author | Jeremy Allison <jra@samba.org> | 2009-01-14 16:08:19 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-01-14 16:08:19 -0800 |
commit | 907f085296e4c61410a7a0e2cfcd6a9db8176b16 (patch) | |
tree | 315254d40cfc716372a4641a089df8aaac78cbfd /source3/libsmb/cliconnect.c | |
parent | 592ee76341de2936b1171ddb391a65a84836c95d (diff) | |
download | samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.gz samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.bz2 samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.zip |
Remove smbclient globals that bled into clidfs.c. Now we only have
the connections list and authentication structures to worry about.
Jeremy
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index bf0d270bab..b446879140 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1747,11 +1747,7 @@ NTSTATUS cli_start_connection(struct cli_state **output_cli, make_nmb_name(&calling, my_name, 0x0); make_nmb_name(&called , dest_host, 0x20); - if (cli_set_port(cli, port) != port) { - cli_shutdown(cli); - return NT_STATUS_UNSUCCESSFUL; - } - + cli_set_port(cli, port); cli_set_timeout(cli, 10000); /* 10 seconds. */ if (dest_ss) { |