Use new connection enumeration with AMF code.

(Logical change 1.58)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@198 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2004-08-23 05:24:21 +00:00
parent 35bc69551d
commit f6c49d8d06

View File

@ -634,7 +634,7 @@ void haStateSetApi (struct saAmfComponent *component, SaAmfHAStateT haState)
/*
* this should be an assertion
*/
if (component->conn_info->active == 0 ||
if (component->conn_info->state != CONN_STATE_ACTIVE ||
component->conn_info->service != SOCKET_SERVICE_AMF) {
return;
}
@ -730,7 +730,7 @@ void readinessStateSetApi (struct saAmfComponent *component,
/*
* this should be an assertion
*/
if (component->conn_info->active == 0 ||
if (component->conn_info->state != CONN_STATE_ACTIVE ||
component->conn_info->service != SOCKET_SERVICE_AMF) {
return;