aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-11 11:03:26 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-11 11:03:26 +0000
commit4a174cbd4380c713c2d14f02876c0c640515540e (patch)
tree4f00c797f5ec08b832d17ed3bc6e4710e3bf4d95
parent3930419a863507653f78b7365fb48faa3bdb99d7 (diff)
downloadgnunet-gtk-4a174cbd4380c713c2d14f02876c0c640515540e.tar.gz
gnunet-gtk-4a174cbd4380c713c2d14f02876c0c640515540e.zip
-LRN: remove assertion that always fails under normal operation
-rw-r--r--src/fs/gnunet-fs-gtk-event_handler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c
index 487fbf75..7520c48d 100644
--- a/src/fs/gnunet-fs-gtk-event_handler.c
+++ b/src/fs/gnunet-fs-gtk-event_handler.c
@@ -170,7 +170,8 @@ stop_download (struct DownloadEntry *de, int is_suspend)
170 { 170 {
171 gtk_tree_model_get (tm, &iter, 171 gtk_tree_model_get (tm, &iter,
172 9, &search_result, -1); 172 9, &search_result, -1);
173 GNUNET_assert (search_result->download == de); 173 /*Always fails on downloads started by Download URI*/
174 /*GNUNET_assert (search_result->download == de);*/
174 search_result->download = NULL; 175 search_result->download = NULL;
175 if (NULL == search_result->result) 176 if (NULL == search_result->result)
176 (void) gtk_tree_store_remove (GTK_TREE_STORE (tm), &iter); 177 (void) gtk_tree_store_remove (GTK_TREE_STORE (tm), &iter);