xmlNodePtr xml_node = create_xml_node(failed,
xml_node = create_xml_node(failed,
update_results(xmlNodePtr failed,			xmlNodePtr target,			int operation,			int return_code){	FNIN();	gboolean was_error = FALSE;    	if (return_code != CIBRES_OK)	{		const char *error_msg = cib_error2string(return_code);		const char *operation_msg = cib_op2string(operation);		xmlNodePtr xml_node = create_xml_node(failed,						      XML_FAIL_TAG_CIB);		was_error = TRUE;						set_xml_property_copy(xml_node,				      XML_FAILCIB_ATTR_ID,				      ID(target));		set_xml_property_copy(xml_node,				      XML_FAILCIB_ATTR_OBJTYPE,				      TYPE(target));		set_xml_property_copy(xml_node,				      XML_FAILCIB_ATTR_OP,				      operation_msg);			set_xml_property_copy(xml_node,				      XML_FAILCIB_ATTR_REASON,				      error_msg);		cl_log(LOG_DEBUG,		       "Action %s failed: %s (cde=%d)",		       operation_msg,		       error_msg,		       return_code);		}	FNRET(was_error);}