git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8679dc7
)
s3: Remove a pointless else branch
author
Volker Lendecke
<vl@samba.org>
Sat, 18 Feb 2012 15:49:47 +0000
(16:49 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 19 Feb 2012 22:14:15 +0000
(23:14 +0100)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index e9637c8ce9cc143f563f8cf6331758e95c3d7a53..356a08fe420fad95445ec1f0da21b2dbc799c2e0 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-201,9
+201,8
@@
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
if (rejected_mask != 0) {
return NT_STATUS_ACCESS_DENIED;
- } else {
- return NT_STATUS_OK;
}
+ return NT_STATUS_OK;
}
static NTSTATUS check_parent_access(struct connection_struct *conn,