mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
idmap_autorid: Add a {} pair in an if-statement
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a3add017e4
commit
61d5009888
@ -243,7 +243,7 @@ static NTSTATUS idmap_autorid_id_to_sid(struct autorid_global_config *cfg,
|
||||
map->status = ID_UNKNOWN;
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
if ((q != NULL) && (*q != '\0'))
|
||||
if ((q != NULL) && (*q != '\0')) {
|
||||
if (sscanf(q+1, "%"SCNu32, &domain_range_index) != 1) {
|
||||
DEBUG(10, ("Domain range index not found, "
|
||||
"ignoring mapping request\n"));
|
||||
@ -251,6 +251,7 @@ static NTSTATUS idmap_autorid_id_to_sid(struct autorid_global_config *cfg,
|
||||
map->status = ID_UNKNOWN;
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
}
|
||||
|
||||
TALLOC_FREE(data.dptr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user