1
1

Ralph - please review and revise if necessary.

Add support for PRE_EXISTING values on new subscription

This commit was SVN r7334.
Этот коммит содержится в:
Tim Woodall 2005-09-13 03:51:58 +00:00
родитель 8dfcc41efd
Коммит d4ef08c074

Просмотреть файл

@ -251,6 +251,16 @@ ADDREQ:
*/
req->idtag = subscription->id;
/*
* New subscription, send initial values?
*/
if(sub->active && subscription->action & ORTE_GPR_NOTIFY_PRE_EXISTING) {
if(ORTE_SUCCESS != (rc = orte_gpr_replica_register_callback(sub, NULL))) {
ORTE_ERROR_LOG(rc);
return rc;
}
}
DONESUB:
/* record where the subscription went */
*subptr = sub;