diff options
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 2e45044e14..f9bb781980 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -73,7 +73,7 @@ void cli_setup_packet_buf(struct cli_state *cli, char *buf) SSVAL(buf,smb_uid, cli_state_get_uid(cli)); SSVAL(buf,smb_mid,cli->smb1.mid); - if (cli->protocol <= PROTOCOL_CORE) { + if (cli_state_protocol(cli) <= PROTOCOL_CORE) { return; } |