xmlNodePtr res = findStatus(cib, ID(anXmlNode));  if(anXmlNode == NULL) { return CIBRES_FAILED_NOOBJECT;  } else if(res == NULL) { return add_cib_object(root, anXmlNode); }  src_existing = xmlGetProp(res, XML_CIB_ATTR_SOURCE); src_new      = xmlGetProp(anXmlNode, XML_CIB_ATTR_SOURCE);  if(src_new != NULL && src_existing != NULL) { from_owner = (strcmp(src_new, src_existing) == 0); }  if(from_owner) { return update_cib_object(root, anXmlNode, TRUE);  }  
updateStatus(xmlNodePtr cib, xmlNodePtr anXmlNode){	const char *src_existing = NULL;	const char *src_new	 = NULL;	gboolean from_owner = FALSE;	xmlNodePtr root = get_object_root(XML_CIB_TAG_STATUS, cib);	xmlNodePtr res = findStatus(cib, ID(anXmlNode));	if(anXmlNode == NULL) {		return CIBRES_FAILED_NOOBJECT;			} else if(res == NULL) {		return add_cib_object(root, anXmlNode);	}		src_existing = xmlGetProp(res, XML_CIB_ATTR_SOURCE);	src_new      = xmlGetProp(anXmlNode, XML_CIB_ATTR_SOURCE);	if(src_new != NULL && src_existing != NULL) {		from_owner = (strcmp(src_new, src_existing) == 0);	}	if(from_owner) {		return update_cib_object(root, anXmlNode, TRUE);	}		return update_cib_object(root, anXmlNode, FALSE);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/40f13201677b69ee0305e14809f26c9679baa9a5/cibprimatives.c/clean/crm/cib/cibprimatives.c