summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-17 14:10:15 +0200
committerVolker Lendecke <vlendec@samba.org>2011-08-17 16:46:24 +0200
commitfe66abd6ff3387a94c5e5d3f5f1f10d452f6d603 (patch)
tree749faf7e869774f7768228081e32cc6d83fd8c73
parente5a6d4cdb693ea72389b8dd523c642716c87a6e3 (diff)
downloadsamba-fe66abd6ff3387a94c5e5d3f5f1f10d452f6d603.tar.gz
samba-fe66abd6ff3387a94c5e5d3f5f1f10d452f6d603.tar.bz2
samba-fe66abd6ff3387a94c5e5d3f5f1f10d452f6d603.zip
Adapt del_sid_from_array to Samba coding style
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 17 16:46:24 CEST 2011 on sn-devel-104
-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;
}