mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3:libsmb/cli*: make use of cli_state_protocol()
metze
This commit is contained in:
@ -875,7 +875,7 @@ struct tevent_req *cli_list_send(TALLOC_CTX *mem_ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (cli->protocol <= PROTOCOL_LANMAN1) {
|
||||
if (cli_state_protocol(cli) <= PROTOCOL_LANMAN1) {
|
||||
subreq = cli_list_old_send(state, ev, cli, mask, attribute);
|
||||
state->recv_fn = cli_list_old_recv;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user