Make Jeff smile - pretty-up the indentation
Refs trac:4267 This commit was SVN r30733. The following Trac tickets were found above: Ticket 4267 --> https://svn.open-mpi.org/trac/ompi/ticket/4267
Этот коммит содержится в:
родитель
445c9f3384
Коммит
3f9db36e0d
@ -871,21 +871,21 @@ static int component_set_addr(orte_process_name_t *peer,
|
|||||||
/* if they gave us "localhost", then just take the first conn on our list */
|
/* if they gave us "localhost", then just take the first conn on our list */
|
||||||
if (0 == strcasecmp(addrs[j], "localhost")) {
|
if (0 == strcasecmp(addrs[j], "localhost")) {
|
||||||
#if OPAL_ENABLE_IPV6
|
#if OPAL_ENABLE_IPV6
|
||||||
if (AF_INET6 == af_family) {
|
if (AF_INET6 == af_family) {
|
||||||
if (NULL == mca_oob_tcp_component.ipv6conns ||
|
if (NULL == mca_oob_tcp_component.ipv6conns ||
|
||||||
NULL == mca_oob_tcp_component.ipv6conns[0]) {
|
NULL == mca_oob_tcp_component.ipv6conns[0]) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
host = mca_oob_tcp_component.ipv6conns[0];
|
host = mca_oob_tcp_component.ipv6conns[0];
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
if (NULL == mca_oob_tcp_component.ipv4conns ||
|
if (NULL == mca_oob_tcp_component.ipv4conns ||
|
||||||
NULL == mca_oob_tcp_component.ipv4conns[0]) {
|
NULL == mca_oob_tcp_component.ipv4conns[0]) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
host = mca_oob_tcp_component.ipv4conns[0];
|
host = mca_oob_tcp_component.ipv4conns[0];
|
||||||
#if OPAL_ENABLE_IPV6
|
#if OPAL_ENABLE_IPV6
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
host = addrs[j];
|
host = addrs[j];
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user