do_crm_log(log_level, __FUNCTION__, "Sending IPC message (ref=%s) to %s@%s %s.", cl_get_string(msg, XML_ATTR_REFERENCE), cl_get_string(msg, F_CRM_SYS_TO), cl_get_string(msg, F_CRM_HOST_TO), all_is_good?"succeeded":"failed");  ha_msg_del(msg); 
crm_msg_del(msg); 
send_ipc_message(IPC_Channel *ipc_client, HA_Message *msg){	int log_level = LOG_DEBUG;	gboolean all_is_good = TRUE;	if (msg == NULL) {		crm_err("cant send NULL message");		all_is_good = FALSE;	} else if (ipc_client == NULL) {		crm_err("cant send message without an IPC Channel");		all_is_good = FALSE;	} else if(ipc_client->ch_status != IPC_CONNECT) {		crm_err("IPC Channel is not connected");		all_is_good = FALSE;	}	if(ipc_client->should_send_blocking == FALSE) {		crm_verbose("Setting IPC Channel to blocking..."			    " least some messages get lost");		ipc_client->should_send_blocking = TRUE;	}	if(all_is_good && msg2ipcchan(msg, ipc_client) != HA_OK) {		crm_err("Could not send IPC, message");		all_is_good = FALSE;		if(ipc_client->ch_status != IPC_CONNECT) {			crm_err("IPC Channel is no longer connected");		}			}		crm_log_message(all_is_good?LOG_DEBUG:LOG_ERR, msg);		do_crm_log(log_level, __FUNCTION__,	       "Sending IPC message (ref=%s) to %s@%s %s.",	       cl_get_string(msg, XML_ATTR_REFERENCE), 	       cl_get_string(msg, F_CRM_SYS_TO),	       cl_get_string(msg, F_CRM_HOST_TO),	       all_is_good?"succeeded":"failed");	ha_msg_del(msg);		return all_is_good;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/c7c5fc7c53a15eefc2aea4bf8ccaf2175307f9f5/ipc.c/buggy/crm/common/ipc.c