diff options
Diffstat (limited to 'src/fs/test_fs_list_indexed.c')
-rw-r--r-- | src/fs/test_fs_list_indexed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index 91dad7ca9..b505e8a18 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c | |||
@@ -95,10 +95,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event) | |||
95 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: | 95 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: |
96 | ret = event->value.publish.cctx; | 96 | ret = event->value.publish.cctx; |
97 | printf ("Publish complete, %llu kbps.\n", | 97 | printf ("Publish complete, %llu kbps.\n", |
98 | (unsigned long long) (FILESIZE * 1000 / | 98 | (unsigned long long) (FILESIZE * 1000000LL / |
99 | (1 + | 99 | (1 + |
100 | GNUNET_TIME_absolute_get_duration | 100 | GNUNET_TIME_absolute_get_duration |
101 | (start).rel_value) / 1024)); | 101 | (start).rel_value_us) / 1024)); |
102 | if (0 == strcmp ("list_indexed-context-dir", event->value.publish.cctx)) | 102 | if (0 == strcmp ("list_indexed-context-dir", event->value.publish.cctx)) |
103 | GNUNET_SCHEDULER_add_continuation (&list_indexed_task, NULL, | 103 | GNUNET_SCHEDULER_add_continuation (&list_indexed_task, NULL, |
104 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 104 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |