diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 17:01:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-02 04:54:29 +0200 |
commit | 91b0aab3fc5076a6399e6970cb7b2f1a442d5566 (patch) | |
tree | 3852b5eca006abc1a87b0e6e070024634be117b2 /source3/libsmb/clilist.c | |
parent | 5e59a36beb7d200fc284d28812baa7e46adeced1 (diff) | |
download | samba-91b0aab3fc5076a6399e6970cb7b2f1a442d5566.tar.gz |
s3:libsmb/cli*: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3/libsmb/clilist.c')
-rw-r--r-- | source3/libsmb/clilist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index e9a3355b690..ba3dd2b2b5e 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -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 { |