diff options
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index f058c10b2..a563d7b7a 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -872,9 +872,8 @@ run (void *cls, | |||
872 | ret = 1; | 872 | ret = 1; |
873 | return; | 873 | return; |
874 | } | 874 | } |
875 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 875 | GNUNET_SCHEDULER_add_shutdown (&do_stop_task, |
876 | &do_stop_task, | 876 | NULL); |
877 | NULL); | ||
878 | if (NULL != pseudonym) | 877 | if (NULL != pseudonym) |
879 | identity = GNUNET_IDENTITY_connect (cfg, | 878 | identity = GNUNET_IDENTITY_connect (cfg, |
880 | &identity_cb, | 879 | &identity_cb, |