Re: [Openais] [PATCH 2/3] coroipcc: check recvmsg result in socket_recv

2011-06-09 Thread Angus Salkeld
On Thu, Jun 09, 2011 at 04:44:24PM +0200, Jan Friesse wrote: > According specification recvmsg can return 0, which means that > connection is closed. We had this check, but limited only for systems > other then Linux. recvmsg can return 0 even on Linux, so check is now > applied on all systems. Ye

[Openais] [PATCH 2/3] coroipcc: check recvmsg result in socket_recv

2011-06-09 Thread Jan Friesse
According specification recvmsg can return 0, which means that connection is closed. We had this check, but limited only for systems other then Linux. recvmsg can return 0 even on Linux, so check is now applied on all systems. Signed-off-by: Jan Friesse --- lib/coroipcc.c |6 ++ 1 files