diff options
Diffstat (limited to 'src/fs/test_fs_publish.c')
-rw-r--r-- | src/fs/test_fs_publish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index e51d6e5d4..7ff9c9202 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -82,10 +82,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event) | |||
82 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: | 82 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: |
83 | ret = event->value.publish.cctx; | 83 | ret = event->value.publish.cctx; |
84 | printf ("Publish complete, %llu kbps.\n", | 84 | printf ("Publish complete, %llu kbps.\n", |
85 | (unsigned long long) (FILESIZE * 1000 / | 85 | (unsigned long long) (FILESIZE * 1000000LL / |
86 | (1 + | 86 | (1 + |
87 | GNUNET_TIME_absolute_get_duration | 87 | GNUNET_TIME_absolute_get_duration |
88 | (start).rel_value) / 1024)); | 88 | (start).rel_value_us) / 1024)); |
89 | if (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) | 89 | if (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) |
90 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, | 90 | GNUNET_SCHEDULER_add_continuation (&abort_publish_task, NULL, |
91 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 91 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |