Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
019ff29d
Commit
019ff29d
authored
Apr 19, 2017
by
Shane Snyder
Browse files
bug fix in swim random member selection
parent
c11bc25c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/swim-fd/swim-fd.c
View file @
019ff29d
...
...
@@ -426,6 +426,9 @@ static int swim_get_rand_group_member_set(ssg_t s, int *member_ranks,
int
rand_member
;
int
avail_members
=
s
->
view
.
group_size
-
1
;
if
(
num_members
==
0
)
return
(
0
);
if
(
excluded_rank
!=
SSG_MEMBER_RANK_UNKNOWN
)
avail_members
--
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment