set_xml_property_copy(xml_node, XML_FAILCIB_ATTR_REASON, buffer); 
set_xml_property_copy(xml_node, XML_FAILCIB_ATTR_REASON, buffer); 
conditional_add_failure(xmlNodePtr failed,						xmlNodePtr target,						int operation,						int return_code){	FNIN();	gboolean was_error = FALSE;    	if (return_code < 0)	{		was_error = TRUE;			cl_log(LOG_DEBUG,			   "Action %d failed (cde=%d)",			   operation,			   return_code);			xmlNodePtr xml_node = create_xml_node(NULL, XML_FAIL_TAG_CIB);		set_xml_property_copy(xml_node,							  XML_FAILCIB_ATTR_ID,							  ID(target));		set_xml_property_copy(xml_node,							  XML_FAILCIB_ATTR_OBJTYPE,							  TYPE(target));			char buffer[20]; // will handle 64 bit integers			/* for now just put in the operation code		 * later, convert it to text 		 */		sprintf(buffer, "%d", operation);		set_xml_property_copy(xml_node, XML_FAILCIB_ATTR_OP, buffer);			/* for now just put in the return code		 * later, convert it to text based on the operation		 */		sprintf(buffer, "%d", return_code);		set_xml_property_copy(xml_node, XML_FAILCIB_ATTR_REASON, buffer);			xmlAddChild(failed, xml_node);	}	FNRET(was_error);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/1527bd277bea88314ec7c1fafa964969da82ef38/msgutils.c/buggy/crm/common/msgutils.c