summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eina/eina_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c
index c72f495a83..c3b1a24ab2 100644
--- a/src/lib/eina/eina_debug.c
+++ b/src/lib/eina/eina_debug.c
@@ -514,6 +514,7 @@ eina_debug_local_connect(Eina_Bool is_master)
514 sizeof(curstate)) < 0) 514 sizeof(curstate)) < 0)
515 goto err; 515 goto err;
516 // sa that it's a unix socket and where the path is 516 // sa that it's a unix socket and where the path is
517 memset(&socket_unix, 0, sizeof(socket_unix));
517 socket_unix.sun_family = AF_UNIX; 518 socket_unix.sun_family = AF_UNIX;
518 strncpy(socket_unix.sun_path, buf, sizeof(socket_unix.sun_path) - 1); 519 strncpy(socket_unix.sun_path, buf, sizeof(socket_unix.sun_path) - 1);
519 socket_unix_len = LENGTH_OF_SOCKADDR_UN(&socket_unix); 520 socket_unix_len = LENGTH_OF_SOCKADDR_UN(&socket_unix);