[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: use correct way to resume d
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: use correct way to resume download |
Date: |
Wed, 25 Jan 2017 23:02:33 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 039a41563 use correct way to resume download
039a41563 is described below
commit 039a4156395706f3222d5c0de69ab37af334e3fe
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jan 25 23:02:31 2017 +0100
use correct way to resume download
---
src/fs/fs_api.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c
index c1ed9521b..a5b82ec27 100644
--- a/src/fs/fs_api.c
+++ b/src/fs/fs_api.c
@@ -2541,7 +2541,6 @@ signal_download_resume (struct GNUNET_FS_DownloadContext
*dc)
signal_download_resume (dcc);
dcc = dcc->next;
}
- GNUNET_FS_download_start_downloading_ (dc);
}
@@ -2855,9 +2854,9 @@ deserialize_download (struct GNUNET_FS_Handle *h,
signal_download_resume (dc);
}
GNUNET_free (uris);
- if (NULL == dc->job_queue)
- dc->task = GNUNET_SCHEDULER_add_now (&GNUNET_FS_download_start_task_,
- dc);
+ GNUNET_assert (NULL == dc->job_queue);
+ dc->task = GNUNET_SCHEDULER_add_now (&GNUNET_FS_download_start_task_,
+ dc);
return;
cleanup:
GNUNET_free_non_null (uris);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: use correct way to resume download,
gnunet <=