summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-02-21 18:39:46 +0100
committerVolker Lendecke <vl@samba.org>2019-02-23 07:54:09 +0100
commitf8bf4fc608639695651f75c52b31f95e796a5a26 (patch)
tree8f9e4472063149fa654ae4ab89a1ae83308a13d9 /source3/winbindd
parent5d277ea7ea258676b9ea5081a451a5874af115f6 (diff)
downloadsamba-f8bf4fc608639695651f75c52b31f95e796a5a26.tar.gz
winbindd: convert id to a pointer in wb_xids2sids_dom_done()
No change in behaviour. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13802 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/wb_xids2sids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_xids2sids.c b/source3/winbindd/wb_xids2sids.c
index 891a4c2a4bd..3c72d9447a2 100644
--- a/source3/winbindd/wb_xids2sids.c
+++ b/source3/winbindd/wb_xids2sids.c
@@ -357,9 +357,9 @@ static void wb_xids2sids_dom_done(struct tevent_req *subreq)
dom_sid_idx = 0;
for (i=0; i<state->num_all_xids; i++) {
- struct unixid id = state->all_xids[i];
+ struct unixid *id = &state->all_xids[i];
- if ((id.id < dom_map->low_id) || (id.id > dom_map->high_id)) {
+ if ((id->id < dom_map->low_id) || (id->id > dom_map->high_id)) {
/* out of range */
continue;
}