Skip to content

Commit 0ef52f2

Browse files
author
Ralph Castain
committed
Pickup minor update from PMIx v2.1.3
Signed-off-by: Ralph Castain <[email protected]>
1 parent ea0d70b commit 0ef52f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opal/mca/pmix/pmix2x/pmix/src/event/pmix_event_notification.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ static pmix_status_t notify_server_of_event(pmix_status_t status,
198198
for (n=0; n < cd->ninfo; n++) {
199199
PMIX_INFO_XFER(&cd->info[n], &chain->info[n]);
200200
if (0 == strncmp(cd->info[n].key, PMIX_EVENT_NON_DEFAULT, PMIX_MAX_KEYLEN)) {
201-
cd->nondefault = true;
202-
chain->nondefault = true;
201+
cd->nondefault = PMIX_INFO_TRUE(&info[n]);
202+
chain->nondefault = cd->nondefault;
203203
} else if (0 == strncmp(cd->info[n].key, PMIX_EVENT_CUSTOM_RANGE, PMIX_MAX_KEYLEN)) {
204204
/* provides an array of pmix_proc_t identifying the procs
205205
* that are to receive this notification, or a single pmix_proc_t */
@@ -972,8 +972,8 @@ static void _notify_client_event(int sd, short args, void *cbdata)
972972
for (n=0; n < cd->ninfo; n++) {
973973
PMIX_INFO_XFER(&chain->info[n], &cd->info[n]);
974974
if (0 == strncmp(cd->info[n].key, PMIX_EVENT_NON_DEFAULT, PMIX_MAX_KEYLEN)) {
975-
cd->nondefault = true;
976-
chain->nondefault = true;
975+
cd->nondefault = PMIX_INFO_TRUE(&cd->info[n]);
976+
chain->nondefault = cd->nondefault;
977977
} else if (0 == strncmp(cd->info[n].key, PMIX_EVENT_CUSTOM_RANGE, PMIX_MAX_KEYLEN)) {
978978
/* provides an array of pmix_proc_t identifying the procs
979979
* that are to receive this notification, or a single pmix_proc_t */
@@ -1087,7 +1087,7 @@ pmix_status_t pmix_server_notify_client_of_event(pmix_status_t status,
10871087
if (NULL != info) {
10881088
for (n=0; n < ninfo; n++) {
10891089
if (0 == strncmp(info[n].key, PMIX_EVENT_NON_DEFAULT, PMIX_MAX_KEYLEN)) {
1090-
cd->nondefault = true;
1090+
cd->nondefault = PMIX_INFO_TRUE(&info[n]);
10911091
} else if (0 == strncmp(info[n].key, PMIX_EVENT_CUSTOM_RANGE, PMIX_MAX_KEYLEN)) {
10921092
/* provides an array of pmix_proc_t identifying the procs
10931093
* that are to receive this notification, or a single pmix_proc_t */

0 commit comments

Comments
 (0)