1
0
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:
Michael Adam 2013-01-30 15:50:52 +01:00
parent 50e3592ace
commit deea99ac36

View File

@ -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: