projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b33fde
)
use correct way to resume download
author
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2017 22:02:31 +0000
(23:02 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2017 22:02:31 +0000
(23:02 +0100)
src/fs/fs_api.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_api.c
b/src/fs/fs_api.c
index c1ed9521b1c42be08c9a8010f96051679e50602d..a5b82ec27165aa71291fb700eba7c16469740820 100644
(file)
--- 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);