gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16038 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r16038 - gnunet/src/fs
Date: Sat, 16 Jul 2011 22:15:38 +0200

Author: grothoff
Date: 2011-07-16 22:15:38 +0200 (Sat, 16 Jul 2011)
New Revision: 16038

Modified:
   gnunet/src/fs/gnunet-service-fs_pe.c
Log:
assert

Modified: gnunet/src/fs/gnunet-service-fs_pe.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_pe.c        2011-07-16 20:13:24 UTC (rev 
16037)
+++ gnunet/src/fs/gnunet-service-fs_pe.c        2011-07-16 20:15:38 UTC (rev 
16038)
@@ -389,9 +389,10 @@
                                          &id.hashPubKey);
   if (NULL == pp)
     return; /* nothing was ever planned for this peer */
-  GNUNET_CONTAINER_multihashmap_remove (plans,
-                                       &id.hashPubKey,
-                                       pp);
+  GNUNET_assert (GNUNET_OK ==
+                GNUNET_CONTAINER_multihashmap_remove (plans,
+                                                      &id.hashPubKey,
+                                                      pp));
   if (NULL != pp->pth)
     GSF_peer_transmit_cancel_ (pp->pth);
   if (GNUNET_SCHEDULER_NO_TASK != pp->task)




reply via email to

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