set_xml_property_copy(dest, name, value); 
crm_xml_add(dest, name, value); 
diff_cib_object(crm_data_t *old_cib, crm_data_t *new_cib, gboolean suppress){	crm_data_t *diff = diff_xml_object(old_cib, new_cib, suppress);	crm_data_t *dest = NULL;	crm_data_t *src = NULL;	const char *name = NULL;	const char *value = NULL;		/* add complete version information */	src = old_cib;	dest = find_xml_node(diff, "diff-removed", FALSE);	if(src != NULL && dest != NULL) {		name = XML_ATTR_GENERATION_ADMIN;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);		name = XML_ATTR_GENERATION;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);		name = XML_ATTR_NUMUPDATES;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);	}		src = new_cib;	dest = find_xml_node(diff, "diff-added", FALSE);	if(src != NULL && dest != NULL) {		name = XML_ATTR_GENERATION_ADMIN;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);		name = XML_ATTR_GENERATION;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);		name = XML_ATTR_NUMUPDATES;		value = crm_element_value(src, name);		if(value == NULL) {			value = "0";		}		set_xml_property_copy(dest, name, value);	}	return diff;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f0d6f413d7ffb14c480325474793065aa4203ea4/cib_client.c/buggy/lib/crm/cib/cib_client.c