1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-29 02:50:28 +03:00

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>
This commit is contained in:
Robin McCorkell 2015-07-09 15:28:05 +01:00 committed by Jeremy Allison
parent 936a799d32
commit b1ea9856e0

View File

@ -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;
}
}
/*