summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 18:09:30 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:45 +0200
commitd8c0646a5db34a390ceeb853e50c2d098b992c85 (patch)
tree486749c41d524ffa61c50adae19f1b1d2352f525 /source3/client
parent4f6f4ea93c83fa5154f450e2e43649467e4c2b32 (diff)
downloadsamba-d8c0646a5db34a390ceeb853e50c2d098b992c85.tar.gz
samba-d8c0646a5db34a390ceeb853e50c2d098b992c85.tar.bz2
samba-d8c0646a5db34a390ceeb853e50c2d098b992c85.zip
s3:libsmb: get rid of cli_state_protocol
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f3ba63fde3..42c5efc3a0 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -428,7 +428,7 @@ static int do_cd(const char *new_dir)
/* Use a trans2_qpathinfo to test directories for modern servers.
Except Win9x doesn't support the qpathinfo_basic() call..... */
- if (cli_state_protocol(targetcli) > PROTOCOL_LANMAN2 && !targetcli->win95) {
+ if (smbXcli_conn_protocol(targetcli->conn) > PROTOCOL_LANMAN2 && !targetcli->win95) {
status = cli_qpathinfo_basic(targetcli, targetpath, &sbuf,
&attributes);