summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_debug.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-21 14:15:10 +0000
committerTom Hacohen <tom@stosb.com>2013-03-21 14:15:10 +0000
commit71e95fa386fcfab9ae7c989f48e29a66e12e621b (patch)
tree4cd138351e8293ba900e5f92bbe13a575f435c51 /src/bin/evas/evas_cserve2_debug.c
parent026559f75256c85a50dc913ab9cb558b90e3ae48 (diff)
Evas cserve2: Remove useless var when calculating size of sun_path.
I have no idea how I missed these 2.
Diffstat (limited to 'src/bin/evas/evas_cserve2_debug.c')
-rw-r--r--src/bin/evas/evas_cserve2_debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/evas/evas_cserve2_debug.c b/src/bin/evas/evas_cserve2_debug.c
index ce8e3e43f1..e68e1138fc 100644
--- a/src/bin/evas/evas_cserve2_debug.c
+++ b/src/bin/evas/evas_cserve2_debug.c
@@ -18,9 +18,8 @@ static int socketfd = -1;
18static unsigned int _rid_count = 1; 18static unsigned int _rid_count = 1;
19static int _evas_cserve2_debug_log_dom = -1; 19static int _evas_cserve2_debug_log_dom = -1;
20 20
21static struct sockaddr_un socksize;
22#ifndef UNIX_PATH_MAX 21#ifndef UNIX_PATH_MAX
23#define UNIX_PATH_MAX sizeof(socksize.sun_path) 22#define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
24#endif 23#endif
25 24
26#ifdef ERR 25#ifdef ERR