summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/smbmount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c
index 7f73807ec6..7e9c74da57 100644
--- a/source4/client/smbmount.c
+++ b/source4/client/smbmount.c
@@ -228,8 +228,7 @@ static struct smbcli_state *do_connection(char *the_service)
DEBUG(4,("%d: session setup ok\n", sys_getpid()));
- if (!smbcli_send_tconX(c, share, "?????",
- password, strlen(password)+1)) {
+ if (!smbcli_tconX(c, share, "?????", password, strlen(password)+1)) {
DEBUG(0,("%d: tree connect failed: %s\n",
sys_getpid(), smbcli_errstr(c)));
smbcli_shutdown(c);