s_crmd_fsa(C_SHUTDOWN); 
G_main_set_trigger(fsa_source); 
crm_shutdown(int nsig, gpointer unused){	if (crmd_mainloop != NULL && g_main_is_running(crmd_mainloop)) {		if(is_set(fsa_input_register, R_SHUTDOWN)) {			crm_err("Escalating the shutdown");			register_fsa_input_before(C_SHUTDOWN, I_ERROR, NULL);			s_crmd_fsa(C_SHUTDOWN);		} else {			set_bit_inplace(fsa_input_register, R_SHUTDOWN);			set_bit_inplace(fsa_input_register, R_STAYDOWN);			/* if we ever win an election we're the last man standing */			election_timeout->fsa_input = I_TERMINATE;			if(is_set(fsa_input_register, R_SHUTDOWN)) {				/* cant rely on this... */				crm_timer_start(shutdown_escalation_timer);				register_fsa_input(C_SHUTDOWN, I_SHUTDOWN, NULL);			s_crmd_fsa(C_SHUTDOWN);			} else {				crm_err("Could not set R_SHUTDOWN");				exit(LSB_EXIT_ENOTSUPPORTED);			}		}			} else {		crm_info("exit from shutdown");		exit(LSB_EXIT_OK);	    	}	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/267e282a40d60e28064bd7918317a4ac0b8618fc/control.c/buggy/crm/crmd/control.c