gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: add assertion that we do no


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: add assertion that we do not release path that is still used by a connection
Date: Mon, 13 Feb 2017 10:24:22 +0100

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 fc9aaa8bc add assertion that we do not release path that is still used 
by a connection
fc9aaa8bc is described below

commit fc9aaa8bce69413e9d6426b1221e419bd58a7e63
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 13 10:24:57 2017 +0100

    add assertion that we do not release path that is still used by a connection
---
 src/cadet/gnunet-service-cadet-new_paths.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cadet/gnunet-service-cadet-new_paths.c 
b/src/cadet/gnunet-service-cadet-new_paths.c
index 7635dccf9..bf1626670 100644
--- a/src/cadet/gnunet-service-cadet-new_paths.c
+++ b/src/cadet/gnunet-service-cadet-new_paths.c
@@ -238,6 +238,7 @@ GCPP_release (struct CadetPeerPath *path)
   while (1)
   {
     /* cut 'off' end of path */
+    GNUNET_assert (NULL == entry->cc);
     GCP_path_entry_remove (entry->peer,
                            entry,
                            path->entries_length - 1);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]