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:
53a4829
)
-do not wait for timeout on hard error
author
Christian Grothoff
<christian@grothoff.org>
Wed, 7 Jan 2015 14:22:43 +0000
(14:22 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 7 Jan 2015 14:22:43 +0000
(14:22 +0000)
src/fs/test_fs_download.c
patch
|
blob
|
history
diff --git
a/src/fs/test_fs_download.c
b/src/fs/test_fs_download.c
index 94e7e0733d4ff66adad7794a45b63ae082f2ec97..967e6e75323583ee8cfd2a473ec7f2ebd667a22f 100644
(file)
--- a/
src/fs/test_fs_download.c
+++ b/
src/fs/test_fs_download.c
@@
-200,11
+200,13
@@
progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event)
GNUNET_break (0);
GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL,
GNUNET_SCHEDULER_REASON_PREREQ_DONE);
+ GNUNET_SCHEDULER_shutdown ();
break;
case GNUNET_FS_STATUS_DOWNLOAD_ERROR:
FPRINTF (stderr, "Error downloading file: %s\n",
event->value.download.specifics.error.message);
GNUNET_SCHEDULER_add_now (&abort_download_task, NULL);
+ GNUNET_SCHEDULER_shutdown ();
break;
case GNUNET_FS_STATUS_DOWNLOAD_ACTIVE:
case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: