diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/profiles.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index 70ac8ffcc0..e7ffab9101 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -445,7 +445,8 @@ int get_sid(DOM_SID *sid, char *sid_str) return 1; } - SIVAL(&sid->sub_auths[i++], 0, auth); + SIVAL(&sid->sub_auths[i], 0, auth); + i++; lstr = strchr(lstr + 1, '-'); } |