git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19cbdf9
)
smbd: Avoid an "else"
author
Volker Lendecke
<vl@samba.org>
Wed, 9 Mar 2016 09:15:25 +0000
(10:15 +0100)
committer
Uri Simchoni
<uri@samba.org>
Wed, 9 Mar 2016 20:51:52 +0000
(21:51 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Wed Mar 9 21:51:52 CET 2016 on sn-devel-144
source3/smbd/smbXsrv_open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smbXsrv_open.c
b/source3/smbd/smbXsrv_open.c
index a7cea18e5d0a65c03c520cd0d6e68848d32db963..fc7d4345067154e9856c95492a29b08b47e1ea9d 100644
(file)
--- a/
source3/smbd/smbXsrv_open.c
+++ b/
source3/smbd/smbXsrv_open.c
@@
-468,7
+468,8
@@
static NTSTATUS smbXsrv_open_local_lookup(struct smbXsrv_open_table *table,
&state);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) {
return NT_STATUS_FILE_CLOSED;
- } else if (!NT_STATUS_IS_OK(status)) {
+ }
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (!NT_STATUS_IS_OK(state.status)) {