aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2005-07-10 11:20:26 +0000
committerNils Durner <durner@gnunet.org>2005-07-10 11:20:26 +0000
commitaa0572e964e97efc0c1d9c376bd9dcbd3c73541b (patch)
treeae5d46ed6e9326020b89efa2fddf359555591a4e
parent368fd85ba7efdb3f744b870688c263f151a1c22e (diff)
downloadgnunet-gtk-aa0572e964e97efc0c1d9c376bd9dcbd3c73541b.tar.gz
gnunet-gtk-aa0572e964e97efc0c1d9c376bd9dcbd3c73541b.zip
closeSearch is called twice under Windows
-rw-r--r--src/plugins/fs/search.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c
index 82646fde..481b3187 100644
--- a/src/plugins/fs/search.c
+++ b/src/plugins/fs/search.c
@@ -312,7 +312,10 @@ void on_closeSearchButton_clicked(GtkWidget * searchPage,
312 prev = list; 312 prev = list;
313 list = list->next; 313 list = list->next;
314 } 314 }
315 GNUNET_ASSERT(list != NULL); 315
316 if (list == NULL)
317 return;
318
316 uri = list->uri; 319 uri = list->uri;
317 FSUI_stopSearch(ctx, 320 FSUI_stopSearch(ctx,
318 uri); 321 uri);