1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:client: make use of cli_state_protocol()

metze
This commit is contained in:
Stefan Metzmacher 2011-08-01 17:01:42 +02:00
parent ec9b6134b7
commit 5e59a36beb

View File

@ -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);