From 9ae1c89f0c4268b34c86fea0b66ec10afe069d71 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 21 Feb 2012 21:46:12 +0000 Subject: [PATCH] -fixing #2155 --- src/fs/fs_download.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 760b62bc2..741ca1917 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -1679,10 +1679,11 @@ reconstruct_cb (void *cls, const struct ContentHashKey *chk, uint64_t offset, /* 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; } -- 2.25.1