rc = fsa_cib_conn->cmds->query( fsa_cib_conn, NULL, NULL, cib_scope_local);  if(FALSE == add_cib_op_callback( rc, TRUE, NULL, revision_check_callback)) { crm_err("Retrieval of generation failed"); register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL); return I_NULL; } 
cib = createEmptyCib(); crm_xml_add(cib, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); crm_xml_add(cib, XML_ATTR_CIB_REVISION, CIB_FEATURE_SET); fragment = create_cib_fragment(cib, NULL); fsa_cib_conn->cmds->modify( fsa_cib_conn, NULL, fragment, NULL, cib_quorum_override); add_cib_op_callback(rc, FALSE, NULL, feature_update_callback);  free_xml(cib); free_xml(fragment); 
do_dc_takeover(long long action,	       enum crmd_fsa_cause cause,	       enum crmd_fsa_state cur_state,	       enum crmd_fsa_input current_input,	       fsa_data_t *msg_data){	int rc = cib_ok;		crm_info("Taking over DC status for this partition");	set_bit_inplace(fsa_input_register, R_THE_DC);	crm_free(fsa_our_dc);	fsa_our_dc = crm_strdup(fsa_our_uname);	set_bit_inplace(fsa_input_register, R_JOIN_OK);	set_bit_inplace(fsa_input_register, R_INVOKE_PE);		if(dc_heartbeat->source_id == (guint)-1	   || dc_heartbeat->source_id == (guint)-2) {		crm_debug_3("Starting DC Heartbeat timer");		dc_heartbeat->source_id = Gmain_timeout_add_full(			G_PRIORITY_HIGH, dc_heartbeat->period_ms,			dc_heartbeat->callback, dc_heartbeat, NULL);	} else {		crm_debug_3("DC Heartbeat timer already active");	}	/* 	fsa_cib_conn->cmds->set_slave_all(fsa_cib_conn, cib_none); */	fsa_cib_conn->cmds->set_master(fsa_cib_conn, cib_none);		rc = fsa_cib_conn->cmds->query(		fsa_cib_conn, NULL, NULL, cib_scope_local);		if(FALSE == add_cib_op_callback(		   rc, TRUE, NULL, revision_check_callback)) {		crm_err("Retrieval of generation failed");		register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL);		return I_NULL;	}			crm_debug_3("Requesting an initial dump of CRMD client_status");	fsa_cluster_conn->llc_ops->client_status(		fsa_cluster_conn, NULL, CRM_SYSTEM_CRMD, -1);		return I_NULL;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/64d7a2867882070da46a462f4b998c4c9452bdab/election.c/buggy/crm/crmd/election.c