diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-03-10 09:43:35 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-04-01 09:11:19 +0200 |
commit | 2ded846535f241fd65e3804b5ed7be4812f3d510 (patch) | |
tree | 26611fd9998c79f71a6fd158789e9fa4d4a046f4 /source3/smbd | |
parent | 1a4e5cfbf9558dad68b70cadf01840630d9e79b9 (diff) | |
download | samba-2ded846535f241fd65e3804b5ed7be4812f3d510.tar.gz |
s3:smb2_lock: fix whitespaces/tabs in smbd_smb2_lock_cancel()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b49893776167460d921822362e1b55abdd5cc751)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_lock.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c index 671cd6f066..56c594bb82 100644 --- a/source3/smbd/smb2_lock.c +++ b/source3/smbd/smb2_lock.c @@ -368,23 +368,23 @@ static NTSTATUS smbd_smb2_lock_recv(struct tevent_req *req) static bool smbd_smb2_lock_cancel(struct tevent_req *req) { - struct smbd_smb2_request *smb2req = NULL; - struct smbd_smb2_lock_state *state = tevent_req_data(req, - struct smbd_smb2_lock_state); - if (!state) { - return false; - } + struct smbd_smb2_request *smb2req = NULL; + struct smbd_smb2_lock_state *state = tevent_req_data(req, + struct smbd_smb2_lock_state); + if (!state) { + return false; + } - if (!state->smb2req) { - return false; - } + if (!state->smb2req) { + return false; + } - smb2req = state->smb2req; + smb2req = state->smb2req; remove_pending_lock(state, state->blr); tevent_req_defer_callback(req, smb2req->sconn->ev_ctx); tevent_req_nterror(req, NT_STATUS_CANCELLED); - return true; + return true; } /**************************************************************** |