#endif 
do_election_count_vote(long long action,		       enum crmd_fsa_state cur_state,		       enum crmd_fsa_input current_input,		       void *data){	xmlNodePtr vote = (xmlNodePtr)data;	const char *vote_from = xmlGetProp(vote, XML_ATTR_HOSTFROM);	int lpc = 0, my_index = -1, your_index = -1;	enum crmd_fsa_input election_result = I_NULL;		FNIN();	if(vote_from == NULL) {		FNRET(election_result);	}		for(; (your_index < 0 && my_index < 0)		    || lpc < fsa_membership_copy->members_size; lpc++) {				const char *node_uname = "";		//fsa_membership_copy->members[lpc].node_uname;				if(node_uname != NULL) {			if(strcmp(vote_from, node_uname) == 0)				your_index = lpc;			else if (strcmp(fsa_our_uname,					node_uname) == 0)				my_index = lpc;		}	}		if(your_index > my_index) {		if(fsa_input_register & R_THE_DC) {			election_result = I_ELECTION_RELEASE_DC;		} else {			election_result = I_NOT_DC;		}	} else if(my_index == 0) {		election_result = I_ELECTION_DC;	}		if(election_result != I_NULL) {		// cancel timer, we lost the election		stopTimer(election_timeout);		// set a new timer for when the DC goes bad		startTimer(election_trigger);	}		FNRET(election_result);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/c56d328888c184968426f662279e051aa6937b40/election.c/clean/crm/crmd/election.c