summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/util_sid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/security/util_sid.c b/libcli/security/util_sid.c
index a86d4cbddb..84ac0f1dbc 100644
--- a/libcli/security/util_sid.c
+++ b/libcli/security/util_sid.c
@@ -337,8 +337,9 @@ void del_sid_from_array(const struct dom_sid *sid, struct dom_sid **sids,
/* This loop will copy the remainder of the array
if i < num of sids in the array */
- for ( ; i<*num; i++ )
+ for ( ; i<*num; i++ ) {
sid_copy( &sid_list[i], &sid_list[i+1] );
+ }
return;
}