if(safe_str_neq(last_op, CRMD_ACTION_STOP)) { 
char *stop_id = generate_op_key(rsc_id, CRMD_ACTION_STOP, 0); if(safe_str_eq(last_op, stop_id)) { last_op_was_stop = TRUE; } crm_free(stop_id); if(last_op_was_stop) { 
stop_all_resources(void){	GListPtr lrm_list = NULL;	crm_info("Makeing sure all active resources are stopped before exit");		if(fsa_lrm_conn == NULL) {		return TRUE;	} else if(is_set(fsa_input_register, R_SENT_RSC_STOP)) {		crm_debug("Already sent stop operation");		return TRUE;	}	lrm_list = fsa_lrm_conn->lrm_ops->get_all_rscs(fsa_lrm_conn);	slist_iter(		rsc_id, char, lrm_list, lpc,		const char *last_op = g_hash_table_lookup(resources, rsc_id);		if(safe_str_neq(last_op, CRMD_ACTION_STOP)) {			crm_warn("Resource %s was active at shutdown", rsc_id);			do_lrm_rsc_op(NULL, rsc_id, CRMD_ACTION_STOP, NULL, NULL);		}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/b7cb2f0f2508023662d20f174d7ed2a910938e7d/lrm.c/buggy/crm/crmd/lrm.c