summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-01 17:01:42 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:29 +0200
commit5e59a36beb7d200fc284d28812baa7e46adeced1 (patch)
tree9916f442306c6a8e23243fe1f76bd9888617f302 /source3
parentec9b6134b7342576fa0e09e93e7901da6fb0aea2 (diff)
downloadsamba-5e59a36beb7d200fc284d28812baa7e46adeced1.tar.gz
samba-5e59a36beb7d200fc284d28812baa7e46adeced1.tar.bz2
samba-5e59a36beb7d200fc284d28812baa7e46adeced1.zip
s3:client: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3')
-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 44a151e78f..110614ecd2 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -426,7 +426,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 (targetcli->protocol > PROTOCOL_LANMAN2 && !targetcli->win95) {
+ if (cli_state_protocol(targetcli) > PROTOCOL_LANMAN2 && !targetcli->win95) {
status = cli_qpathinfo_basic(targetcli, targetpath, &sbuf,
&attributes);