forked from enlightenment/efl
efl debugd - check return of write func and report errors
makes coverity happy and reports write errors... fix CID 1377525
This commit is contained in:
parent
0889d5b76d
commit
d4fd5b0287
|
@ -197,7 +197,9 @@ _dispatch(Client *src, void *buffer)
|
||||||
hdr->cid = SWAP_32(src->cid);
|
hdr->cid = SWAP_32(src->cid);
|
||||||
hdr->size = SWAP_32(hdr->size);
|
hdr->size = SWAP_32(hdr->size);
|
||||||
hdr->opcode = SWAP_32(hdr->opcode);
|
hdr->opcode = SWAP_32(hdr->opcode);
|
||||||
efl_io_writer_write(dest->client, &s, NULL);
|
if (efl_io_writer_write(dest->client, &s, NULL) !=
|
||||||
|
EINA_ERROR_NO_ERROR)
|
||||||
|
ERR("Cannot write to client [%s:%i]", dest->app_name, (int)dest->pid);
|
||||||
INF("Transfer of %d bytes from %s(%d) to %s(%d): operation %s\n",
|
INF("Transfer of %d bytes from %s(%d) to %s(%d): operation %s\n",
|
||||||
hdr->size,
|
hdr->size,
|
||||||
src->app_name, src->pid,
|
src->app_name, src->pid,
|
||||||
|
|
Loading…
Reference in New Issue