summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
committerJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
commit907f085296e4c61410a7a0e2cfcd6a9db8176b16 (patch)
tree315254d40cfc716372a4641a089df8aaac78cbfd /source3/nmbd
parent592ee76341de2936b1171ddb391a65a84836c95d (diff)
downloadsamba-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/nmbd')
-rw-r--r--source3/nmbd/nmbd_synclists.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index 9e09060f27..3e672aef25 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -80,10 +80,7 @@ static void sync_child(char *name, int nm_type,
return;
}
- if (!cli_set_port(cli, 139)) {
- cli_shutdown(cli);
- return;
- }
+ cli_set_port(cli, 139);
in_addr_to_sockaddr_storage(&ss, ip);
status = cli_connect(cli, name, &ss);