aboutsummaryrefslogtreecommitdiffstats
path: root/dfs_server
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-07-09 15:28:05 +0100
committerJeremy Allison <jra@samba.org>2015-07-10 06:33:07 +0200
commitb1ea9856e03c21b52c13aee29971a5326c8cd652 (patch)
tree31cc6e0eced5ca7edb88f0cb497314c9ad3c7c64 /dfs_server
parent936a799d32c28dc8857b97a5fe90f0150a280fa4 (diff)
downloadsamba-b1ea9856e03c21b52c13aee29971a5326c8cd652.tar.gz
samba-b1ea9856e03c21b52c13aee29971a5326c8cd652.tar.xz
samba-b1ea9856e03c21b52c13aee29971a5326c8cd652.zip
dfs_server: Fix whitespace
Signed-off-by: Robin McCorkell <rmccorkell@karoshi.org.uk> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'dfs_server')
-rw-r--r--dfs_server/dfs_server_ad.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/dfs_server/dfs_server_ad.c b/dfs_server/dfs_server_ad.c
index 61466329eaf..2a1d9ec02e1 100644
--- a/dfs_server/dfs_server_ad.c
+++ b/dfs_server/dfs_server_ad.c
@@ -40,18 +40,18 @@ struct dc_set {
static void shuffle_dc_set(struct dc_set *list)
{
- uint32_t i;
+ uint32_t i;
- for (i = list->count; i > 1; i--) {
- uint32_t r;
- const char *tmp;
+ for (i = list->count; i > 1; i--) {
+ uint32_t r;
+ const char *tmp;
r = generate_random() % i;
- tmp = list->names[i - 1];
- list->names[i - 1] = list->names[r];
- list->names[r] = tmp;
- }
+ tmp = list->names[i - 1];
+ list->names[i - 1] = list->names[r];
+ list->names[r] = tmp;
+ }
}
/*