gnunet-svn
[Top][All Lists]
Advanced

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

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


From: grothoff
Subject: [GNUnet-SVN] r1343 - GNUnet/src/applications/fs/fsui
Date: Sat, 9 Jul 2005 06:08:24 -0700 (PDT)

Author: grothoff
Date: 2005-07-09 06:08:21 -0700 (Sat, 09 Jul 2005)
New Revision: 1343

Modified:
   GNUnet/src/applications/fs/fsui/download.c
Log:
fix

Modified: GNUnet/src/applications/fs/fsui/download.c
===================================================================
--- GNUnet/src/applications/fs/fsui/download.c  2005-07-09 13:04:12 UTC (rev 
1342)
+++ GNUnet/src/applications/fs/fsui/download.c  2005-07-09 13:08:21 UTC (rev 
1343)
@@ -419,7 +419,7 @@
  * Free the subtree (assumes all threads have already been stopped and
  * that the FSUI lock is either held or that we are in FSUI stop!).
  */
-void freeDownloadList(FSUI_DownloadList * list) {
+static void freeDownloadList(FSUI_DownloadList * list) {
   FSUI_DownloadList * dpos;
   int i;
 
@@ -481,12 +481,6 @@
       backup = ctx->threadPoolSize;
       ctx->threadPoolSize = 0;
       updateDownloadThread(dl);
-      if (prev == NULL)
-       ctx->activeDownloads.child
-         = dl->next;
-      else
-       prev->next
-         = dl->next;
       freeDownloadList(dl);
       ctx->threadPoolSize = backup;
       MUTEX_UNLOCK(&ctx->lock);





reply via email to

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