summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-29 11:21:37 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-29 12:26:57 +0900
commitd4fd5b0287c5876c699a6953054a7139e6bbed95 (patch)
tree8c45e979e3c698b2f4206e6441a78a67e66af79f /src/bin/efl
parent0889d5b76d128c5dcde6ea22e1048f3085209f25 (diff)
efl debugd - check return of write func and report errors
makes coverity happy and reports write errors... fix CID 1377525
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debugd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index 562bd822be..f03317b2cb 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -197,7 +197,9 @@ _dispatch(Client *src, void *buffer)
197 hdr->cid = SWAP_32(src->cid); 197 hdr->cid = SWAP_32(src->cid);
198 hdr->size = SWAP_32(hdr->size); 198 hdr->size = SWAP_32(hdr->size);
199 hdr->opcode = SWAP_32(hdr->opcode); 199 hdr->opcode = SWAP_32(hdr->opcode);
200 efl_io_writer_write(dest->client, &s, NULL); 200 if (efl_io_writer_write(dest->client, &s, NULL) !=
201 EINA_ERROR_NO_ERROR)
202 ERR("Cannot write to client [%s:%i]", dest->app_name, (int)dest->pid);
201 INF("Transfer of %d bytes from %s(%d) to %s(%d): operation %s\n", 203 INF("Transfer of %d bytes from %s(%d) to %s(%d): operation %s\n",
202 hdr->size, 204 hdr->size,
203 src->app_name, src->pid, 205 src->app_name, src->pid,