aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-16 18:51:27 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-19 12:41:01 +0100
commit980eec8b79b63b445530cd42778a772e8a67b820 (patch)
tree3552b52fd3883c449e1b67639a21726069b2060f /src/util
parent7236e5f83a621ab972f9ae6eda5b9562aba3217b (diff)
downloadgnunet-980eec8b79b63b445530cd42778a772e8a67b820.tar.gz
gnunet-980eec8b79b63b445530cd42778a772e8a67b820.zip
-fix port initialization in addr
Diffstat (limited to 'src/util')
-rw-r--r--src/util/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/network.c b/src/util/network.c
index 688c37665..2f77bc54e 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -350,7 +350,8 @@ initialize_network_handle (struct GNUNET_NETWORK_Handle *h,
350 350
351 if (h->fd >= FD_SETSIZE) 351 if (h->fd >= FD_SETSIZE)
352 { 352 {
353 GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (h)); 353 GNUNET_break (GNUNET_OK ==
354 GNUNET_NETWORK_socket_close (h));
354 errno = EMFILE; 355 errno = EMFILE;
355 return GNUNET_SYSERR; 356 return GNUNET_SYSERR;
356 } 357 }