set_xml_property_copy(action_xml, XML_LRM_ATTR_TARGET, safe_val4(NULL, action, node, details, id)); 
set_xml_property_copy( action_xml, XML_LRM_ATTR_TARGET, safe_val4(NULL, action, node, details, id)); 
action2xml(action_t *action){	xmlNodePtr action_xml = NULL;		if(action == NULL) {		return NULL;	}		switch(action->task) {		case stonith_op:			action_xml = create_xml_node(NULL, "pseduo_event");			break;		case shutdown_crm:			action_xml = create_xml_node(NULL, "crm_event");			break;		default:			action_xml = create_xml_node(NULL, "rsc_op");			add_node_copy(action_xml, action->rsc->xml);						break;	}	set_xml_property_copy(action_xml,			      XML_LRM_ATTR_TARGET,			      safe_val4(NULL, action, node, details, id));	set_xml_property_copy(action_xml,			      XML_ATTR_ID,			      crm_itoa(action->id));	set_xml_property_copy(action_xml,			      XML_LRM_ATTR_RUNNABLE,			      action->runnable?XML_BOOLEAN_TRUE:XML_BOOLEAN_FALSE);	set_xml_property_copy(action_xml,			      XML_LRM_ATTR_OPTIONAL,			      action->optional?XML_BOOLEAN_TRUE:XML_BOOLEAN_FALSE);	set_xml_property_copy(action_xml,			      XML_LRM_ATTR_TASK,			      task2text(action->task));	set_xml_property_copy(action_xml,			      XML_LRM_ATTR_DISCARD,			      action->discard?XML_BOOLEAN_TRUE:XML_BOOLEAN_FALSE);	set_xml_property_copy(action_xml,			      "allow_fail",			      action->failure_is_fatal?XML_BOOLEAN_FALSE:XML_BOOLEAN_TRUE);	return action_xml;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/a31099ff591feabcdecbed51debb86941e5029fa/graph.c/clean/crm/pengine/graph.c