summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_main_loop_linux.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-06-12 13:45:17 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-06-14 16:38:18 +0900
commit07ef0fdd93d0c1fd0f0cb7c5638d6cba5dc96466 (patch)
tree2bc077266032fd90ac0fe6623d1555fc918e564c /src/bin/evas/evas_cserve2_main_loop_linux.c
parent82584a85fb9bd843a2fff671846846505f510ab6 (diff)
evas/cserve2: Add UID to shm file path
+ Improve debug for corner case (never happened)
Diffstat (limited to 'src/bin/evas/evas_cserve2_main_loop_linux.c')
-rw-r--r--src/bin/evas/evas_cserve2_main_loop_linux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/evas/evas_cserve2_main_loop_linux.c b/src/bin/evas/evas_cserve2_main_loop_linux.c
index 5222ab90d9..35c9d56578 100644
--- a/src/bin/evas/evas_cserve2_main_loop_linux.c
+++ b/src/bin/evas/evas_cserve2_main_loop_linux.c
@@ -258,7 +258,10 @@ _socketfd_setup(void)
258 { 258 {
259 if (connect(s, (struct sockaddr *)&socket_local, len) != -1) 259 if (connect(s, (struct sockaddr *)&socket_local, len) != -1)
260 { 260 {
261 ERR("cserve2 service already there: \"%s\"", strerror(errno)); 261 if (errno == EADDRINUSE)
262 ERR("cserve2 service already there: \"%s\"", strerror(errno));
263 else
264 ERR("cserve2 could connect the socket: %d \"%s\"", errno, strerror(errno));
262 close(s); 265 close(s);
263 return -1; 266 return -1;
264 } 267 }