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:
parent
42804b4555
commit
7e564713f9
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user