two minor fixes, reviewed by Tim
This commit was SVN r5273.
Этот коммит содержится в:
родитель
101caca214
Коммит
05624dda0c
@ -281,7 +281,7 @@ int orte_ns_proxy_assign_rml_tag(orte_rml_tag_t *tag,
|
|||||||
|
|
||||||
count = 1;
|
count = 1;
|
||||||
if ((ORTE_SUCCESS != orte_dps.unpack(answer, &command, &count, ORTE_NS_CMD))
|
if ((ORTE_SUCCESS != orte_dps.unpack(answer, &command, &count, ORTE_NS_CMD))
|
||||||
|| (ORTE_NS_CREATE_CELLID_CMD != command)) {
|
|| (ORTE_NS_ASSIGN_OOB_TAG_CMD != command)) {
|
||||||
OBJ_RELEASE(answer);
|
OBJ_RELEASE(answer);
|
||||||
return ORTE_ERR_UNPACK_FAILURE;
|
return ORTE_ERR_UNPACK_FAILURE;
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,8 @@ int orte_ns_replica_assign_rml_tag(orte_rml_tag_t *tag,
|
|||||||
/* not in list or not provided, so allocate next tag
|
/* not in list or not provided, so allocate next tag
|
||||||
* first check to see if one available - else error
|
* first check to see if one available - else error
|
||||||
*/
|
*/
|
||||||
if (ORTE_RML_TAG_MAX < orte_ns_replica_next_rml_tag) {
|
/* if (ORTE_RML_TAG_MAX < orte_ns_replica_next_rml_tag) { */
|
||||||
|
if (ORTE_RML_TAG_MAX > orte_ns_replica_next_rml_tag) {
|
||||||
/* okay, one available - assign it */
|
/* okay, one available - assign it */
|
||||||
tagitem = OBJ_NEW(orte_ns_replica_tagitem_t);
|
tagitem = OBJ_NEW(orte_ns_replica_tagitem_t);
|
||||||
if (NULL == tagitem) { /* out of memory */
|
if (NULL == tagitem) { /* out of memory */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user