tasn pushed a commit to branch master.

commit 026559f75256c85a50dc913ab9cb558b90e3ae48
Author: Tom Hacohen <[email protected]>
Date:   Thu Mar 21 13:22:35 2013 +0000

    Evas cserve2: Remove useless var when calculating size of sun_path.
---
 src/lib/evas/cserve2/evas_cs2_client.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/evas/cserve2/evas_cs2_client.c 
b/src/lib/evas/cserve2/evas_cs2_client.c
index dcc8ff2..7e0c83a 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -43,8 +43,7 @@ static unsigned int _data_id = 0;
 static Eina_List *_requests = NULL;
 
 #ifndef UNIX_PATH_MAX
-static struct sockaddr_un socksize;
-#define UNIX_PATH_MAX sizeof(socksize.sun_path)
+#define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
 #endif
 
 static void

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

Reply via email to