Module: kamailio
Branch: master
Commit: e9c25dac940609f184bd2b0b66408dc0a28e1c86
URL:
https://github.com/kamailio/kamailio/commit/e9c25dac940609f184bd2b0b66408dc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-28T22:21:54+02:00
Merge pull request #589 from mslehto/UNIX_PATH_MAX
lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value
---
Modified: lib/binrpc/binrpc_api.c
Modified: modules/ctl/init_socks.c
Modified: utils/kamcmd/kamcmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e9c25dac940609f184bd2b0b66408dc…
Patch:
https://github.com/kamailio/kamailio/commit/e9c25dac940609f184bd2b0b66408dc…
---
diff --git a/lib/binrpc/binrpc_api.c b/lib/binrpc/binrpc_api.c
index e67c589..9145758 100644
--- a/lib/binrpc/binrpc_api.c
+++ b/lib/binrpc/binrpc_api.c
@@ -53,7 +53,7 @@
#define binrpc_free internal_free
#ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 108
+#define UNIX_PATH_MAX 104
#endif
#ifndef INT2STR_MAX_LEN
diff --git a/modules/ctl/init_socks.c b/modules/ctl/init_socks.c
index 0bbaebc..29c67f9 100644
--- a/modules/ctl/init_socks.c
+++ b/modules/ctl/init_socks.c
@@ -37,7 +37,7 @@
#include <fcntl.h>
#ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 108
+#define UNIX_PATH_MAX 104
#endif
diff --git a/utils/kamcmd/kamcmd.c b/utils/kamcmd/kamcmd.c
index 3381631..4211741 100644
--- a/utils/kamcmd/kamcmd.c
+++ b/utils/kamcmd/kamcmd.c
@@ -82,7 +82,7 @@
#ifndef UNIX_PATH_MAX
-#define UNIX_PATH_MAX 100
+#define UNIX_PATH_MAX 104
#endif
static char id[]="$Id$";