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:
parent
ec9b6134b7
commit
5e59a36beb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user