forked from enlightenment/efl
Evas cserve2: Remove useless var when calculating size of sun_path.
This commit is contained in:
parent
7a01acd60d
commit
ecc0972468
|
@ -14,8 +14,7 @@
|
||||||
static unsigned int _rid_count = 0;
|
static unsigned int _rid_count = 0;
|
||||||
|
|
||||||
#ifndef UNIX_PATH_MAX
|
#ifndef UNIX_PATH_MAX
|
||||||
static struct sockaddr_un socket_local;
|
#define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
|
||||||
#define UNIX_PATH_MAX sizeof(socket_local.sun_path)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -19,8 +19,7 @@ static unsigned int _rid_count = 1;
|
||||||
static int _evas_cserve2_usage_log_dom = -1;
|
static int _evas_cserve2_usage_log_dom = -1;
|
||||||
|
|
||||||
#ifndef UNIX_PATH_MAX
|
#ifndef UNIX_PATH_MAX
|
||||||
static struct sockaddr_un socksize;
|
#define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
|
||||||
#define UNIX_PATH_MAX sizeof(socksize.sun_path)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ERR
|
#ifdef ERR
|
||||||
|
|
Loading…
Reference in New Issue