aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-03-11 13:48:36 +0000
committerChristian Grothoff <christian@grothoff.org>2010-03-11 13:48:36 +0000
commitb649acef1d260909d21121774bc972774efd65f6 (patch)
tree81151edb1a742033960d2c9e9cd38d4cf4983914 /src/fs/fs_publish.c
parent8f7beb8f68db072d4ebf6c3633a21b46513791c9 (diff)
downloadgnunet-b649acef1d260909d21121774bc972774efd65f6.tar.gz
gnunet-b649acef1d260909d21121774bc972774efd65f6.zip
ETA calculations, filename
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index cf249c04b..df566b917 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -901,12 +901,15 @@ do_upload (void *cls,
901 hash_for_index_cb (sc, 901 hash_for_index_cb (sc,
902 &p->data.file.file_id); 902 &p->data.file.file_id);
903 else 903 else
904 GNUNET_CRYPTO_hash_file (sc->h->sched, 904 {
905 GNUNET_SCHEDULER_PRIORITY_IDLE, 905 p->start_time = GNUNET_TIME_absolute_get ();
906 p->data.file.filename, 906 GNUNET_CRYPTO_hash_file (sc->h->sched,
907 HASHING_BLOCKSIZE, 907 GNUNET_SCHEDULER_PRIORITY_IDLE,
908 &hash_for_index_cb, 908 p->data.file.filename,
909 sc); 909 HASHING_BLOCKSIZE,
910 &hash_for_index_cb,
911 sc);
912 }
910 return; 913 return;
911 } 914 }
912 publish_content (sc); 915 publish_content (sc);