Adapt del_sid_from_array to Samba coding style
authorVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 12:10:15 +0000 (14:10 +0200)
committerVolker Lendecke <vlendec@samba.org>
Wed, 17 Aug 2011 14:46:24 +0000 (16:46 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Aug 17 16:46:24 CEST 2011 on sn-devel-104

libcli/security/util_sid.c

index a86d4cbddb0d6cd8c3e680082ccd487322e5f1b8..84ac0f1dbc4ea1013f2aadcc78ddd9dca85aebee 100644 (file)
@@ -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;
 }