gnunet-svn
[Top][All Lists]
Advanced

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

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


From: grothoff
Subject: [GNUnet-SVN] r3511 - GNUnet/src/applications/fs/fsui
Date: Fri, 20 Oct 2006 13:16:14 -0700 (PDT)

Author: grothoff
Date: 2006-10-20 13:16:12 -0700 (Fri, 20 Oct 2006)
New Revision: 3511

Modified:
   GNUnet/src/applications/fs/fsui/downloadtest.c
   GNUnet/src/applications/fs/fsui/fsuitest.c
   GNUnet/src/applications/fs/fsui/searchtest.c
Log:
fx

Modified: GNUnet/src/applications/fs/fsui/downloadtest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/downloadtest.c      2006-10-20 20:12:38 UTC 
(rev 3510)
+++ GNUnet/src/applications/fs/fsui/downloadtest.c      2006-10-20 20:16:12 UTC 
(rev 3511)
@@ -88,7 +88,7 @@
 #if DEBUG_VERBOSE
     printf("Download resuming\n");
 #endif
-   download = event->data.DownloadResumed.dc.pos;
+    download = event->data.DownloadResumed.dc.pos;
     break;
   case FSUI_search_result:
 #if DEBUG_VERBOSE
@@ -187,6 +187,7 @@
   case FSUI_download_started:
   case FSUI_download_stopped:
   case FSUI_search_started:
+  case FSUI_search_aborted:
   case FSUI_search_stopped:
   case FSUI_unindex_started:
   case FSUI_unindex_stopped:

Modified: GNUnet/src/applications/fs/fsui/fsuitest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/fsuitest.c  2006-10-20 20:12:38 UTC (rev 
3510)
+++ GNUnet/src/applications/fs/fsui/fsuitest.c  2006-10-20 20:16:12 UTC (rev 
3511)
@@ -206,6 +206,8 @@
     if (GNUNET_SHUTDOWN_TEST() == YES)
       break;
   }
+  FSUI_abortSearch(ctx,
+                  search);
   FSUI_stopSearch(ctx,
                  search);
   unindex = FSUI_startUnindex(ctx, filename);

Modified: GNUnet/src/applications/fs/fsui/searchtest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/searchtest.c        2006-10-20 20:12:38 UTC 
(rev 3510)
+++ GNUnet/src/applications/fs/fsui/searchtest.c        2006-10-20 20:16:12 UTC 
(rev 3511)
@@ -207,6 +207,8 @@
     CHECK(prog < 10000)
     PTHREAD_SLEEP(500 * cronMILLIS);
   }
+  FSUI_abortSearch(ctx,
+                  search);
   FSUI_stopSearch(ctx,
                  search);
   CHECK(uri != NULL);





reply via email to

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