aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-11 22:00:26 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-11 22:00:26 +0000
commit3ed8e42b3f52c56d64929e3bab244a3489868bb5 (patch)
tree99b02236a01797e6e3ad9911a68e88e4ba8490e2 /src/fs/fs_publish.c
parentce0a51361bc8a4a5d05fe762c452e879ab607784 (diff)
downloadgnunet-3ed8e42b3f52c56d64929e3bab244a3489868bb5.tar.gz
gnunet-3ed8e42b3f52c56d64929e3bab244a3489868bb5.zip
fixing 1568
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 89d1f84cb..90908f412 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -487,6 +487,15 @@ encode_cont (void *cls,
487 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 487 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
488 "Finished with tree encoder\n"); 488 "Finished with tree encoder\n");
489#endif 489#endif
490 /* final progress event */
491 pi.status = GNUNET_FS_STATUS_PUBLISH_PROGRESS;
492 pi.value.publish.specifics.progress.data = NULL;
493 pi.value.publish.specifics.progress.offset = GNUNET_FS_uri_chk_get_file_size (p->chk_uri);
494 pi.value.publish.specifics.progress.data_len = 0;
495 pi.value.publish.specifics.progress.depth = 0;
496 p->client_info = GNUNET_FS_publish_make_status_ (&pi, sc, p,
497 GNUNET_FS_uri_chk_get_file_size (p->chk_uri));
498
490 /* continue with main */ 499 /* continue with main */
491 sc->upload_task 500 sc->upload_task
492 = GNUNET_SCHEDULER_add_with_priority (sc->h->sched, 501 = GNUNET_SCHEDULER_add_with_priority (sc->h->sched,