diff options
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 5e2e94345d..7f82772721 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -47,7 +47,7 @@ static size_t cli_read_max_bufsize(struct cli_state *cli) return min_space; } - if (cli_state_encryption_on(cli)) { + if (smb1cli_conn_encryption_on(cli->conn)) { return min_space; } @@ -100,7 +100,7 @@ static size_t cli_write_max_bufsize(struct cli_state *cli, return min_space; } - if (cli_state_encryption_on(cli)) { + if (smb1cli_conn_encryption_on(cli->conn)) { return min_space; } |