diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 16:42:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-02 04:54:28 +0200 |
commit | 6e8a6e033f4040630995f0c2f1889fbc251cb7dc (patch) | |
tree | 37bc178da1ac67a69b2729faf3dc1570de73e883 /source3/libsmb/clifile.c | |
parent | ffd99c5de56b7e9f97a56b91983c966e88749090 (diff) | |
download | samba-6e8a6e033f4040630995f0c2f1889fbc251cb7dc.tar.gz samba-6e8a6e033f4040630995f0c2f1889fbc251cb7dc.tar.xz samba-6e8a6e033f4040630995f0c2f1889fbc251cb7dc.zip |
s3:libsmb/cli*: make use of cli_state_capabilities()
metze
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r-- | source3/libsmb/clifile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 59cdb7b855..812fcde85e 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -2765,7 +2765,7 @@ NTSTATUS cli_lock64(struct cli_state *cli, uint16_t fnum, int ltype; NTSTATUS status; - if (! (cli->capabilities & CAP_LARGE_FILES)) { + if (! (cli_state_capabilities(cli) & CAP_LARGE_FILES)) { return cli_lock32(cli, fnum, offset, len, timeout, lock_type); } @@ -2878,7 +2878,7 @@ NTSTATUS cli_unlock64(struct cli_state *cli, struct tevent_req *req; NTSTATUS status = NT_STATUS_OK; - if (! (cli->capabilities & CAP_LARGE_FILES)) { + if (! (cli_state_capabilities(cli) & CAP_LARGE_FILES)) { return cli_unlock(cli, fnum, offset, len); } |