while(ipc_client->ops->send(ipc_client, msg) == IPC_FAIL) 
while(lpc++ < MAX_IPC_FAIL && ipc_client->ops->send(ipc_client, msg) == IPC_FAIL) 
send_ipc_message(IPC_Channel *ipc_client, IPC_Message *msg){    FNIN();    CRM_DEBUG("Processing IPC message");    (void)_ha_msg_h_Id; /* Make the compiler happy */    gboolean all_is_good = TRUE;    if(msg == NULL)    {	cl_log(LOG_WARNING, "cant send NULL message");	all_is_good = FALSE;    }    else if (msg->msg_len <= 0)    {	cl_log(LOG_WARNING, "cant send 0 sized message");	all_is_good = FALSE;    }    else if(msg->msg_len > MAXDATASIZE)    {	cl_log(LOG_WARNING, "cant send msg... too big");	all_is_good = FALSE;    }    /*     CRM_DEBUG2("Sending message: %s", (char*)msg->msg_body); */    CRM_DEBUG2("Message is%s valid to send", all_is_good?"":" not");    if(ipc_client == NULL)    {	all_is_good = FALSE;    }    CRM_DEBUG2("IPC Client is%s set.", all_is_good?"":" not");    if(all_is_good)	while(ipc_client->ops->send(ipc_client, msg) == IPC_FAIL)	{	    cl_log(LOG_WARNING, "ipc channel blocked");	    cl_shortsleep();	}        CRM_DEBUG2("Sending of IPC message %s.", all_is_good?"succeeded":"failed");    FNRET(all_is_good);}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f4d2fcf957c8356f82db6dc54719d7d704bacb16/ipcutils.c/buggy/crm/common/ipcutils.c