aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_publish_persistence.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_publish_persistence.c')
-rw-r--r--src/fs/test_fs_publish_persistence.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c
index 577831a28..1dc8c43aa 100644
--- a/src/fs/test_fs_publish_persistence.c
+++ b/src/fs/test_fs_publish_persistence.c
@@ -134,10 +134,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event)
134 consider_restart (event->status); 134 consider_restart (event->status);
135 ret = event->value.publish.cctx; 135 ret = event->value.publish.cctx;
136 printf ("Publish complete, %llu kbps.\n", 136 printf ("Publish complete, %llu kbps.\n",
137 (unsigned long long) (FILESIZE * 1000LL / 137 (unsigned long long) (FILESIZE * 1000000LL /
138 (1 + 138 (1 +
139 GNUNET_TIME_absolute_get_duration 139 GNUNET_TIME_absolute_get_duration
140 (start).rel_value) / 1024)); 140 (start).rel_value_us) / 1024));
141 if (0 == strcmp ("publish-context-dir", event->value.publish.cctx)) 141 if (0 == strcmp ("publish-context-dir", event->value.publish.cctx))
142 GNUNET_SCHEDULER_add_now (&abort_publish_task, NULL); 142 GNUNET_SCHEDULER_add_now (&abort_publish_task, NULL);
143 break; 143 break;