gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r19908 - gnunet/src/fs
Date: Tue, 21 Feb 2012 22:46:12 +0100

Author: grothoff
Date: 2012-02-21 22:46:12 +0100 (Tue, 21 Feb 2012)
New Revision: 19908

Modified:
   gnunet/src/fs/fs_download.c
Log:
-fixing #2155

Modified: gnunet/src/fs/fs_download.c
===================================================================
--- gnunet/src/fs/fs_download.c 2012-02-21 20:41:31 UTC (rev 19907)
+++ gnunet/src/fs/fs_download.c 2012-02-21 21:46:12 UTC (rev 19908)
@@ -1679,10 +1679,11 @@
       /* block matches, hence tree below matches;
        * this request is done! */
       dr->state = BRS_DOWNLOAD_UP;
-      GNUNET_assert (GNUNET_YES ==
-                    GNUNET_CONTAINER_multihashmap_remove (dc->active, 
&dr->chk.query, dr));
+      GNUNET_break (GNUNET_NO ==
+                   GNUNET_CONTAINER_multihashmap_remove (dc->active, 
&dr->chk.query, dr));
       if (GNUNET_YES == dr->is_pending)
       {
+       GNUNET_break (0); /* how did we get here? */
        GNUNET_CONTAINER_DLL_remove (dc->pending_head, dc->pending_tail, dr);
        dr->is_pending = GNUNET_NO;
       }




reply via email to

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