current = crm_atoi(current_s, "0");
current = crm_parse_int(current_s, "0");
set_connected_peers(crm_data_t *xml_obj){	int active = 0;	int current = 0;	char *peers_s = NULL;	const char *current_s = crm_element_value(		xml_obj, XML_ATTR_NUMPEERS);	g_hash_table_foreach(peer_hash, GHFunc_count_peers, &active);	current = crm_atoi(current_s, "0");	if(current != active) {		peers_s = crm_itoa(active);		crm_xml_add(xml_obj, XML_ATTR_NUMPEERS, peers_s);		crm_debug("Set peers to %s", peers_s);		crm_free(peers_s);	}	return active;}