diff options
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index 973ecd438..16bab3ba1 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -158,13 +158,11 @@ ds_put_cont (void *cls, | |||
158 | GNUNET_asprintf (&pcc->p->emsg, | 158 | GNUNET_asprintf (&pcc->p->emsg, |
159 | _("Upload failed: %s"), | 159 | _("Upload failed: %s"), |
160 | msg); | 160 | msg); |
161 | GNUNET_FS_file_information_sync (pcc->p); | ||
162 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; | 161 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; |
163 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; | 162 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; |
164 | pi.value.publish.specifics.error.message = pcc->p->emsg; | 163 | pi.value.publish.specifics.error.message = pcc->p->emsg; |
165 | pcc->p->client_info = GNUNET_FS_publish_make_status_ (&pi, pcc->sc, pcc->p, 0); | 164 | pcc->p->client_info = GNUNET_FS_publish_make_status_ (&pi, pcc->sc, pcc->p, 0); |
166 | } | 165 | } |
167 | GNUNET_FS_file_information_sync (pcc->p); | ||
168 | if (NULL != pcc->cont) | 166 | if (NULL != pcc->cont) |
169 | pcc->sc->upload_task | 167 | pcc->sc->upload_task |
170 | = GNUNET_SCHEDULER_add_with_priority (pcc->sc->h->sched, | 168 | = GNUNET_SCHEDULER_add_with_priority (pcc->sc->h->sched, |
@@ -302,7 +300,6 @@ publish_kblocks_cont (void *cls, | |||
302 | sc); | 300 | sc); |
303 | return; | 301 | return; |
304 | } | 302 | } |
305 | GNUNET_FS_file_information_sync (p); | ||
306 | if (NULL != p->dir) | 303 | if (NULL != p->dir) |
307 | signal_publish_completion (p, sc); | 304 | signal_publish_completion (p, sc); |
308 | /* move on to next file */ | 305 | /* move on to next file */ |
@@ -400,7 +397,6 @@ encode_cont (void *cls, | |||
400 | _("Upload failed: %s"), | 397 | _("Upload failed: %s"), |
401 | emsg); | 398 | emsg); |
402 | GNUNET_free (emsg); | 399 | GNUNET_free (emsg); |
403 | GNUNET_FS_file_information_sync (p); | ||
404 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; | 400 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; |
405 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; | 401 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; |
406 | pi.value.publish.specifics.error.message = p->emsg; | 402 | pi.value.publish.specifics.error.message = p->emsg; |
@@ -833,7 +829,6 @@ GNUNET_FS_publish_main_ (void *cls, | |||
833 | _("Recursive upload failed: %s"), | 829 | _("Recursive upload failed: %s"), |
834 | p->emsg); | 830 | p->emsg); |
835 | } | 831 | } |
836 | GNUNET_FS_file_information_sync (p); | ||
837 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; | 832 | pi.status = GNUNET_FS_STATUS_PUBLISH_ERROR; |
838 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; | 833 | pi.value.publish.eta = GNUNET_TIME_UNIT_FOREVER_REL; |
839 | pi.value.publish.specifics.error.message = p->emsg; | 834 | pi.value.publish.specifics.error.message = p->emsg; |