summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-08 06:16:35 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-08 12:52:50 +0200
commit2b9dd9049e76b170e0c8fe5e2534770e8beacd28 (patch)
tree4eb07ba230d02b034f399a399ebc168909e4ef58
parent9f51d610d2d14f2b0ac532019e42bd18b8a05d81 (diff)
downloadsamba-2b9dd9049e76b170e0c8fe5e2534770e8beacd28.tar.gz
samba-2b9dd9049e76b170e0c8fe5e2534770e8beacd28.tar.bz2
samba-2b9dd9049e76b170e0c8fe5e2534770e8beacd28.zip
s3:smb2_read: fix indentation in schedule_smb2_sendfile_read()
metze
-rw-r--r--source3/smbd/smb2_read.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index ba352f7c25..1d6b8588c5 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -275,14 +275,14 @@ static NTSTATUS schedule_smb2_sendfile_read(struct smbd_smb2_request *smb2req,
*/
if (!lp__use_sendfile(SNUM(fsp->conn)) ||
- smb2req->do_signing ||
- smb2req->in.vector_count != 4 ||
- (fsp->base_fsp != NULL) ||
- (fsp->wcp != NULL) ||
- (!S_ISREG(fsp->fsp_name->st.st_ex_mode)) ||
- (state->in_offset >= fsp->fsp_name->st.st_ex_size) ||
- (fsp->fsp_name->st.st_ex_size < state->in_offset +
- state->in_length)) {
+ smb2req->do_signing ||
+ smb2req->in.vector_count != 4 ||
+ (fsp->base_fsp != NULL) ||
+ (fsp->wcp != NULL) ||
+ (!S_ISREG(fsp->fsp_name->st.st_ex_mode)) ||
+ (state->in_offset >= fsp->fsp_name->st.st_ex_size) ||
+ (fsp->fsp_name->st.st_ex_size < state->in_offset + state->in_length))
+ {
return NT_STATUS_RETRY;
}