if(safe_str_eq(join_state, CRMD_JOINSTATE_MEMBER) && safe_str_eq(ha_state, ACTIVESTATUS) 
if(safe_str_neq(join_state, CRMD_JOINSTATE_DOWN) && (ha_state == NULL || safe_str_eq(ha_state, ACTIVESTATUS)) 
is_node_online(crm_data_t *node_state) {	const char *uname      = crm_element_value(node_state,XML_ATTR_UNAME);	const char *join_state = crm_element_value(node_state,XML_CIB_ATTR_JOINSTATE);	const char *crm_state  = crm_element_value(node_state,XML_CIB_ATTR_CRMDSTATE);	const char *ha_state   = crm_element_value(node_state,XML_CIB_ATTR_HASTATE);	const char *ccm_state  = crm_element_value(node_state,XML_CIB_ATTR_INCCM);	if(safe_str_eq(join_state, CRMD_JOINSTATE_MEMBER)	   && safe_str_eq(ha_state, ACTIVESTATUS)	   && crm_is_true(ccm_state)	   && safe_str_eq(crm_state, ONLINESTATUS)) {		crm_devel("Node %s is online", uname);		return TRUE;	}	crm_devel("Node %s: %s %s %s", uname, join_state, ccm_state, crm_state);	crm_devel("Node %s is offline", uname);	return FALSE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/da04d3a6fce3d30c8f3778cb7581f9629fdc583b/crmadmin.c/buggy/crm/admin/crmadmin.c