git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3add01
)
idmap_autorid: Add a {} pair in an if-statement
author
Volker Lendecke
<vl@samba.org>
Thu, 1 Dec 2016 16:11:38 +0000
(16:11 +0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 6 Dec 2016 19:24:22 +0000
(20:24 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_autorid.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_autorid.c
b/source3/winbindd/idmap_autorid.c
index 20cd5b72a98a28ae6292dee4c437572edd8c6c70..aa3095babb437b22de3d0e65950976c780924d76 100644
(file)
--- a/
source3/winbindd/idmap_autorid.c
+++ b/
source3/winbindd/idmap_autorid.c
@@
-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);