aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-download.c')
-rw-r--r--src/fs/gnunet-fs-gtk-download.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk-download.c b/src/fs/gnunet-fs-gtk-download.c
index 8781de8b..cba115ab 100644
--- a/src/fs/gnunet-fs-gtk-download.c
+++ b/src/fs/gnunet-fs-gtk-download.c
@@ -232,11 +232,6 @@ GNUNET_FS_GTK_download_context_start_download (struct DownloadContext *dc)
232 GtkTreeIter iter; 232 GtkTreeIter iter;
233 GtkTreePath *path; 233 GtkTreePath *path;
234 234
235 fs = GNUNET_FS_GTK_get_fs_handle ();
236 opt = GNUNET_FS_DOWNLOAD_OPTION_NONE;
237 if (dc->is_recursive)
238 opt |= GNUNET_FS_DOWNLOAD_OPTION_RECURSIVE;
239 len = GNUNET_FS_uri_chk_get_file_size (dc->uri);
240 de = GNUNET_malloc (sizeof (struct DownloadEntry)); 235 de = GNUNET_malloc (sizeof (struct DownloadEntry));
241 de->uri = dc->uri; 236 de->uri = dc->uri;
242 dc->uri = NULL; 237 dc->uri = NULL;
@@ -268,6 +263,11 @@ GNUNET_FS_GTK_download_context_start_download (struct DownloadContext *dc)
268 if (NULL != path) 263 if (NULL != path)
269 gtk_tree_path_free (path); 264 gtk_tree_path_free (path);
270 } 265 }
266 fs = GNUNET_FS_GTK_get_fs_handle ();
267 opt = GNUNET_FS_DOWNLOAD_OPTION_NONE;
268 if (dc->is_recursive)
269 opt |= GNUNET_FS_DOWNLOAD_OPTION_RECURSIVE;
270 len = GNUNET_FS_uri_chk_get_file_size (dc->uri);
271 if (dc->sr != NULL) 271 if (dc->sr != NULL)
272 { 272 {
273 GNUNET_break (NULL != 273 GNUNET_break (NULL !=