1
0
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:
Stefan Metzmacher
2011-08-01 17:01:42 +02:00
parent 5e59a36beb
commit 91b0aab3fc
4 changed files with 14 additions and 14 deletions

View File

@ -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 {