aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/client.c b/src/util/client.c
index 05e05a328..313cc23af 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -532,9 +532,9 @@ try_unixpath (const char *service_name,
532 0, 532 0,
533 sizeof (s_un)); 533 sizeof (s_un));
534 s_un.sun_family = AF_UNIX; 534 s_un.sun_family = AF_UNIX;
535 strncpy (s_un.sun_path, 535 GNUNET_strlcpy (s_un.sun_path,
536 unixpath, 536 unixpath,
537 sizeof (s_un.sun_path) - 1); 537 sizeof (s_un.sun_path));
538#ifdef LINUX 538#ifdef LINUX
539 { 539 {
540 int abstract; 540 int abstract;