[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: make sure port is closed on
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: make sure port is closed on shutdown |
Date: |
Mon, 25 Jun 2018 12:18:25 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 62b7151f1 make sure port is closed on shutdown
62b7151f1 is described below
commit 62b7151f1a8ca7276a6ca7094fc846813dcebce4
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jun 25 12:18:14 2018 +0200
make sure port is closed on shutdown
---
src/cadet/gnunet-cadet.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 04a595a7b..a44882443 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -1,4 +1,4 @@
-/*
+4/*
This file is part of GNUnet.
Copyright (C) 2012, 2017 GNUnet e.V.
@@ -196,6 +196,11 @@ shutdown_task (void *cls)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Shutdown\n");
+ if (NULL != lp)
+ {
+ GNUNET_CADET_close_port (lp);
+ lp = NULL;
+ }
if (NULL != ch)
{
GNUNET_CADET_channel_destroy (ch);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: make sure port is closed on shutdown,
gnunet <=