gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r3572 - GNUnet/src/applications/fs/fsui


From: grothoff
Subject: [GNUnet-SVN] r3572 - GNUnet/src/applications/fs/fsui
Date: Sun, 29 Oct 2006 19:39:04 -0800 (PST)

Author: grothoff
Date: 2006-10-29 19:39:02 -0800 (Sun, 29 Oct 2006)
New Revision: 3572

Modified:
   GNUnet/src/applications/fs/fsui/search.c
Log:
bugfix

Modified: GNUnet/src/applications/fs/fsui/search.c
===================================================================
--- GNUnet/src/applications/fs/fsui/search.c    2006-10-30 03:32:53 UTC (rev 
3571)
+++ GNUnet/src/applications/fs/fsui/search.c    2006-10-30 03:39:02 UTC (rev 
3572)
@@ -353,6 +353,7 @@
  */
 int FSUI_stopSearch(struct FSUI_Context * ctx,
                    struct FSUI_SearchList * sl) {
+  FSUI_Event event;
   FSUI_SearchList * pos;
   FSUI_SearchList * prev;
   void * unused;
@@ -378,6 +379,13 @@
   pos->next = NULL;
   PTHREAD_JOIN(pos->handle,
               &unused);
+  event.type = FSUI_search_stopped;
+  event.data.SearchStopped.sc.pos = pos;
+  event.data.SearchStopped.sc.cctx = pos->cctx;
+  pos->ctx->ecb(pos->ctx->ecbClosure,
+               &event);
+
+
   ECRS_freeUri(pos->uri);
   for (i=0;i<pos->sizeResultsReceived;i++) {
     ECRS_freeUri(pos->resultsReceived[i].uri);





reply via email to

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