diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-21 21:46:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-21 21:46:12 +0000 |
commit | 9ae1c89f0c4268b34c86fea0b66ec10afe069d71 (patch) | |
tree | b756121d89510a331346bd0d6f924817909fcc9e /src/fs/fs_download.c | |
parent | 6c1b5f3149788006601996ef10cd030fe3aa6f02 (diff) |
-fixing #2155
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r-- | src/fs/fs_download.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 760b62bc26..741ca19172 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; } |