summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-09 15:37:40 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-09 15:37:40 +0200
commit885490c46980b90dd40a46c0790d4e334188e2dc (patch)
treec0cb09de0755ec02bae819e1bef4b30560ddb8bf
parent2c2cc95e7ad9c315374068aa0b3d3dca4ede928f (diff)
-check return values
-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 e771a9834..61da37ab7 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -122,7 +122,7 @@ GNUNET_NETWORK_test_pf (int pf)
}
else
{
- close (s);
+ GNUNET_break (0 == close (s));
ret = GNUNET_OK;
}
switch (pf)