value = param_value(config, "failed_nodes"); if(safe_str_eq(value, XML_CIB_ATTR_STONITH)) { crm_debug("Enabling STONITH of failed nodes"); stonith_enabled = TRUE; } else { stonith_enabled = FALSE; }
unpack_config(crm_data_t * config){	const char *value = NULL;		value = param_value(config, "failed_nodes");	if(safe_str_eq(value, XML_CIB_ATTR_STONITH)) {		crm_debug("Enabling STONITH of failed nodes");		stonith_enabled = TRUE;	} else {		stonith_enabled = FALSE;	}	value = param_value(config, "transition_timeout");	if(value != NULL) {		int tmp = atoi(value);		if(tmp > 0) {			transition_timeout = value;		} else {			crm_warn("Invalid value for %s: %s",				 "transition_timeout", value);		}	}	crm_devel("%s set to: %s",		 "transition_timeout", transition_timeout);		return TRUE;}