summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-01-13 17:15:20 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-01-14 14:23:04 +0900
commit1d99c82381043d9bf2670e5261bdf157d478b75b (patch)
treeb6b879cb703df151a9d0e1dd1080e433b9d3691c /src/lib/evas/cserve2
parenta0dc5c16acb0eae963581a570e925f2b95bb1560 (diff)
Evas/cserve2: Improve error messages a bit
Diffstat (limited to 'src/lib/evas/cserve2')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index 15328f5c40..de1ce38e6d 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -604,7 +604,14 @@ _server_dispatch(Eina_Bool *failed)
604 604
605 rid = msg->rid; 605 rid = msg->rid;
606 if (!found) 606 if (!found)
607 WRN("Got unexpected response %d for request %d", msg->type, rid); 607 {
608 if (msg->type == CSERVE2_ERROR)
609 {
610 Msg_Error *error = (Msg_Error *) msg;
611 ERR("Cserve2 sent error %d for rid %d", error->error, rid);
612 }
613 else WRN("Got unexpected response %d for request %d", msg->type, rid);
614 }
608 615
609 free(msg); 616 free(msg);
610 return rid; 617 return rid;