Skip to content

Commit

Permalink
Add patch from @jjhursey
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Castain <rhc@pmix.org>
  • Loading branch information
rhc54 committed Jul 19, 2022
1 parent cd5144e commit dd63e2f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mca/rmaps/base/rmaps_base_support_fns.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,10 @@ void prte_rmaps_base_get_starting_point(pmix_list_t *node_list, prte_job_t *jdat
((prte_node_t *) cur_node_item)->name));

/* put this node at the front of the list */
pmix_list_remove_item(node_list, cur_node_item);
pmix_list_prepend(node_list, cur_node_item);
if (pmix_list_get_first(node_list) != cur_node_item) {
pmix_list_remove_item(node_list, cur_node_item);
pmix_list_prepend(node_list, cur_node_item);
}

return;
}
Expand Down

0 comments on commit dd63e2f

Please sign in to comment.