aboutsummaryrefslogtreecommitdiff
path: root/src/util/network.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-09 20:47:26 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-09 20:47:26 +0000
commit62fb07648fd1a789e8bf44ea5b51a47e00a15c8c (patch)
treeb7fc762e40f532e834b98292e393362fd888adbf /src/util/network.c
parent2cc6f2cc2a4515737af4289b9d679e4ac6e0f6f5 (diff)
downloadgnunet-62fb07648fd1a789e8bf44ea5b51a47e00a15c8c.tar.gz
gnunet-62fb07648fd1a789e8bf44ea5b51a47e00a15c8c.zip
-fix warning
Diffstat (limited to 'src/util/network.c')
-rw-r--r--src/util/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/network.c b/src/util/network.c
index fdc15e0d4..d3a891a63 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -421,7 +421,7 @@ GNUNET_NETWORK_socket_bind (struct GNUNET_NETWORK_Handle *desc,
421 { 421 {
422 /* set permissions of newly created UNIX domain socket to "user-only"; applications 422 /* set permissions of newly created UNIX domain socket to "user-only"; applications
423 can choose to relax this later */ 423 can choose to relax this later */
424 mode_t old_mask; 424 mode_t old_mask = 0; /* assigned to make compiler happy */
425 425
426 if (AF_UNIX == address->sa_family) 426 if (AF_UNIX == address->sa_family)
427 old_mask = umask (S_IWGRP | S_IRGRP | S_IXGRP | S_IWOTH | S_IROTH | S_IXOTH); 427 old_mask = umask (S_IWGRP | S_IRGRP | S_IXGRP | S_IWOTH | S_IROTH | S_IXOTH);