int old_len = g_list_length(fsa_message_queue);  fsa_data_t *fsa_data = NULL; crm_malloc(fsa_data, sizeof(fsa_data_t)); fsa_data->fsa_input = new_message->fsa_input; fsa_data->fsa_cause = new_message->fsa_cause; if(fsa_data->fsa_cause == C_HA_MESSAGE || fsa_data->fsa_cause == C_IPC_MESSAGE) { fsa_data->data = copy_xml_node_recursive(new_message->data);  } else { crm_err("Message type not handled yet"); return fsa_message_queue; }  /* make sure to free it properly later */ fsa_message_queue = g_list_append(fsa_message_queue, fsa_data);  crm_verbose("Queue len: %d -> %d", old_len, g_list_length(fsa_message_queue));  if(old_len == g_list_length(fsa_message_queue)){ crm_err("Couldnt add message to the queue"); }  return fsa_message_queue; 
crm_err("Not implemented anymore"); return NULL; 
put_message(fsa_data_t *new_message){	int old_len = g_list_length(fsa_message_queue);	fsa_data_t *fsa_data = NULL;	crm_malloc(fsa_data, sizeof(fsa_data_t));	fsa_data->fsa_input = new_message->fsa_input;	fsa_data->fsa_cause = new_message->fsa_cause;	if(fsa_data->fsa_cause == C_HA_MESSAGE	   || fsa_data->fsa_cause == C_IPC_MESSAGE) {		fsa_data->data = copy_xml_node_recursive(new_message->data);	} else {		crm_err("Message type not handled yet");		return fsa_message_queue;	}		/* make sure to free it properly later */	fsa_message_queue = g_list_append(fsa_message_queue, fsa_data);	crm_verbose("Queue len: %d -> %d", old_len,		  g_list_length(fsa_message_queue));		if(old_len == g_list_length(fsa_message_queue)){		crm_err("Couldnt add message to the queue");	}		return fsa_message_queue;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/88daa61de18549a2a6ba4d99063ca1ceeb35f85d/messages.c/buggy/crm/crmd/messages.c