summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 17:31:50 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:45 +0200
commit4f6f4ea93c83fa5154f450e2e43649467e4c2b32 (patch)
tree5d765e8b1d8bcf9215a4dce43585a69ccfc66819 /source3/client
parent987e81b0ee681a25a8e3308169626a2206e3fd26 (diff)
downloadsamba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.tar.gz
samba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.tar.bz2
samba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.zip
s3:libsmb: get rid of cli_state_remote_name
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 3d36367539..f3ba63fde3 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -37,6 +37,7 @@
#include "trans2.h"
#include "libsmb/nmblib.h"
#include "include/ntioctl.h"
+#include "../libcli/smb/smbXcli_base.h"
#ifndef REGISTER
#define REGISTER 0
@@ -4495,7 +4496,7 @@ static int cmd_show_connect( void )
return 1;
}
- d_printf("//%s/%s\n", cli_state_remote_name(targetcli), targetcli->share);
+ d_printf("//%s/%s\n", smbXcli_conn_remote_name(targetcli->conn), targetcli->share);
return 0;
}