mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
smbd: Avoid an "else"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
393176e967
commit
bd692c1f90
@ -507,7 +507,8 @@ static char *dptr_ReadDirName(TALLOC_CTX *ctx,
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
name = found_name;
|
||||
goto clean;
|
||||
} else if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
|
||||
}
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
|
||||
/* The case-insensitive lookup was authoritative. */
|
||||
goto clean;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user