summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-09-11 00:50:13 +0000
committerJeremy Allison <jra@samba.org>2002-09-11 00:50:13 +0000
commitc93b40f43d5f5027f26c9b6bb906011a9075db2d (patch)
tree80de889af1e82fb7082120e8dde59ad3f8a6c2bf /source/smbd/reply.c
parent6f0561acadd139e37f86e30a2bbf10f428178eaf (diff)
downloadsamba-c93b40f43d5f5027f26c9b6bb906011a9075db2d.tar.gz
samba-c93b40f43d5f5027f26c9b6bb906011a9075db2d.tar.xz
samba-c93b40f43d5f5027f26c9b6bb906011a9075db2d.zip
Fix missing braces around push lock call.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 2b361fd43a7..36f7c3a8837 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -1609,9 +1609,10 @@ int reply_lockread(connection_struct *conn, char *inbuf,char *outbuf, int length
* this smb into a queued request and push it
* onto the blocking lock queue.
*/
- if(push_blocking_lock_request(inbuf, length, -1, 0))
+ if(push_blocking_lock_request(inbuf, length, -1, 0)) {
END_PROFILE(SMBlockread);
- return -1;
+ return -1;
+ }
}
END_PROFILE(SMBlockread);
return ERROR_NT(status);