summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_np_tstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/cli_np_tstream.c')
-rw-r--r--source3/libsmb/cli_np_tstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_np_tstream.c b/source3/libsmb/cli_np_tstream.c
index 4a2b1976d2..f7e609d200 100644
--- a/source3/libsmb/cli_np_tstream.c
+++ b/source3/libsmb/cli_np_tstream.c
@@ -146,7 +146,7 @@ struct tevent_req *tstream_cli_np_open_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- if (cli_state_protocol(cli) < PROTOCOL_SMB2_02) {
+ if (smbXcli_conn_protocol(cli->conn) < PROTOCOL_SMB2_02) {
state->is_smb1 = true;
}