summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-31 17:50:32 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:32 +0100
commitb378abe4555a342b0db7f12ca142591dfcb6ad3b (patch)
treefbe8aec8fc96bcba3e6248a7ca6cf9c478bd71d3
parent2d9a8898f27b3d80851c7bd99b525118abeb92bc (diff)
downloadsamba-b378abe4555a342b0db7f12ca142591dfcb6ad3b.tar.gz
samba-b378abe4555a342b0db7f12ca142591dfcb6ad3b.tar.bz2
samba-b378abe4555a342b0db7f12ca142591dfcb6ad3b.zip
s3:nmbd: make use of cli_tree_connect()
metze
-rw-r--r--source3/nmbd/nmbd_synclists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index cc0068bf54..e015f7ba71 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -100,7 +100,7 @@ static void sync_child(char *name, int nm_type,
return;
}
- if (!NT_STATUS_IS_OK(cli_tcon_andx(cli, "IPC$", "IPC", "", 1))) {
+ if (!NT_STATUS_IS_OK(cli_tree_connect(cli, "IPC$", "IPC", "", 1))) {
cli_shutdown(cli);
return;
}