gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16069 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r16069 - gnunet/src/transport
Date: Mon, 18 Jul 2011 09:16:29 +0200

Author: grothoff
Date: 2011-07-18 09:16:28 +0200 (Mon, 18 Jul 2011)
New Revision: 16069

Modified:
   gnunet/src/transport/plugin_transport_http.c
Log:
assert

Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c        2011-07-18 07:15:15 UTC 
(rev 16068)
+++ gnunet/src/transport/plugin_transport_http.c        2011-07-18 07:16:28 UTC 
(rev 16069)
@@ -664,7 +664,10 @@
              "Freeing context for peer `%s'\n",
              GNUNET_i2s(&pc->identity));
 #endif
-  GNUNET_CONTAINER_multihashmap_remove (plugin->peers, 
&pc->identity.hashPubKey, pc);
+  GNUNET_assert (GNUNET_YES ==
+                GNUNET_CONTAINER_multihashmap_remove (plugin->peers, 
+                                                      
&pc->identity.hashPubKey, 
+                                                      pc));
   while (ps!=NULL)
     {
       plugin->env->session_end(plugin, &pc->identity, ps);




reply via email to

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