diff options
author | Ralph Boehme <slow@samba.org> | 2019-02-21 18:39:46 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-04 10:37:55 +0000 |
commit | 4cf7bddc64540d59bcaf7ce8b574a8e6d03f96b0 (patch) | |
tree | 3eed03c0bc139606a5e05048b98b9749d1c38173 | |
parent | 577ac999fbd2740f4ee2173517a2df19e15f27c1 (diff) | |
download | samba-4cf7bddc64540d59bcaf7ce8b574a8e6d03f96b0.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>
(cherry picked from commit f8bf4fc608639695651f75c52b31f95e796a5a26)
-rw-r--r-- | source3/winbindd/wb_xids2sids.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_xids2sids.c b/source3/winbindd/wb_xids2sids.c index aba83823c7b..ae7dbfd4ec2 100644 --- a/source3/winbindd/wb_xids2sids.c +++ b/source3/winbindd/wb_xids2sids.c @@ -354,9 +354,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; } |