mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3:net: reduce indentation in net idmap delete for symmetry and consistency
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
This commit is contained in:
parent
50e3592ace
commit
deea99ac36
@ -475,11 +475,13 @@ NTSTATUS dbwrap_delete_mapping(struct db_context *db, TDB_DATA key1, bool force)
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (is_valid_mapping) {
|
||||
status = dbwrap_delete(db, val1);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(1, ("failed to delete: %.*s\n", (int)val1.dsize, val1.dptr));
|
||||
}
|
||||
if (!is_valid_mapping) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
status = dbwrap_delete(db, val1);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(1, ("failed to delete: %.*s\n", (int)val1.dsize, val1.dptr));
|
||||
}
|
||||
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user