if(tmp_time > next_transition_idle_timeout) { next_transition_idle_timeout = tmp_time; 
if(tmp_time > transition_timer->timeout) { crm_debug("Action %d: Increasing IDLE timer to %d", action->id, tmp_time); transition_timer->timeout = tmp_time; 
fire_synapse(synapse_t *synapse) {	if(synapse == NULL) {		crm_err("Synapse was NULL!");		return;	}		crm_debug_3("Checking if synapse %d needs to be fired", synapse->id);	if(synapse->complete) {		crm_debug_3("Skipping complete synapse %d", synapse->id);		return;			} else if(synapse->triggers_complete == FALSE) {		crm_debug_3("Synapse %d not yet satisfied", synapse->id);		return;	}		crm_debug("All inputs for synapse %d satisfied... invoking actions",		  synapse->id);	synapse->complete = TRUE;	slist_iter(		action, action_t, synapse->actions, lpc,		/* allow some leway */		unsigned tmp_time = 2 * action->timeout;		gboolean passed = FALSE;		action->invoked = TRUE;		/* Invoke the action and start the timer */		passed = initiate_action(action);		if(passed == FALSE) {			crm_err("Failed initiating <%s id=%d> in synapse %d",				crm_element_name(action->xml),				action->id, synapse->id);			send_complete("Action init failed", action->xml,				      te_failed, i_cancel);			return;		} 		if(tmp_time > next_transition_idle_timeout) {			next_transition_idle_timeout = tmp_time;		}					);		crm_debug("Synapse %d complete", synapse->id);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/bf94f7dc9183bc3d0254f625988b696e18664f40/tengine.c/buggy/crm/tengine/tengine.c