Don't ELOG ipc EOF

Receiving EOF from a client is not an error, but rather a standard way a
client may disconnect from the IPC. This should rather be logged from
a consumer of the libi3 ipc_recv_message() function as a normal client
disconnect event.

fixes #1252
This commit is contained in:
Tony Crisci 2014-06-06 22:11:44 -04:00 committed by Michael Stapelberg
parent 42804b4555
commit 7e564713f9

View File

@ -41,7 +41,6 @@ int ipc_recv_message(int sockfd, uint32_t *message_type,
if (n == -1) if (n == -1)
return -1; return -1;
if (n == 0) { if (n == 0) {
ELOG("IPC: received EOF instead of reply\n");
return -2; return -2;
} }