gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9568 - gnunet-gtk/src/plugins/fs


From: gnunet
Subject: [GNUnet-SVN] r9568 - gnunet-gtk/src/plugins/fs
Date: Wed, 18 Nov 2009 01:25:52 -0700

Author: grothoff
Date: 2009-11-18 01:25:52 -0700 (Wed, 18 Nov 2009)
New Revision: 9568

Modified:
   gnunet-gtk/src/plugins/fs/download.c
Log:
fixing #1485

Modified: gnunet-gtk/src/plugins/fs/download.c
===================================================================
--- gnunet-gtk/src/plugins/fs/download.c        2009-11-16 18:53:52 UTC (rev 
9567)
+++ gnunet-gtk/src/plugins/fs/download.c        2009-11-18 08:25:52 UTC (rev 
9568)
@@ -516,6 +516,7 @@
 
 /* **************** user download events ******************** */
 
+
 /**
  * Check if a download for the given filename is
  * already running.
@@ -544,7 +545,7 @@
           if (name != NULL)
             free (name);
           if (GNUNET_SYSERR == check_pending (filename, &iter))
-            return GNUNET_SYSERR;
+           return GNUNET_SYSERR;           
         }
       while (gtk_tree_model_iter_next (model, &iter));
     }
@@ -750,7 +751,7 @@
                                       "downloadAnonymitySpinButton");
   sdc.recursive = getToggleButtonValue (sdc.searchContext->searchXML,
                                         "downloadRecursiveCheckButton");
-  if (GNUNET_OK == check_pending (idc_name, NULL))
+  if (GNUNET_OK == check_pending (sdc.idc_final_download_destination, NULL))
     {
       GNUNET_GTK_add_log_entry (_("Downloading `%s'\n"), idc_name);
       GNUNET_GTK_run_with_save_calls (&init_download_helper, &sdc);
@@ -769,7 +770,7 @@
 
 /**
  * The download button in the search dialog was
- * clicked.  GNUNET_ND_DOWNLOAD all selected entries.
+ * clicked.  Download all selected entries.
  */
 void
 on_downloadButton_clicked_fs (GtkWidget * treeview,





reply via email to

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