diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:47:07 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:47:07 +0000 |
commit | 92ea81543438aebee77ceec02800da3e4da6a421 (patch) | |
tree | 5f5075ae7e9cc68881fd94f7f98795b755fbd374 /src/fs/test_fs_list_indexed.c | |
parent | 4d14bcd5d233c1aeef03b34ec9d4b875a5d7bd2b (diff) |
Refactoring gnunet time
Diffstat (limited to 'src/fs/test_fs_list_indexed.c')
-rw-r--r-- | src/fs/test_fs_list_indexed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index eb5fdf5051..dd2b30417a 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c @@ -115,7 +115,7 @@ progress_cb (void *cls, case GNUNET_FS_STATUS_PUBLISH_COMPLETED: ret = event->value.publish.cctx; printf ("Publish complete, %llu kbps.\n", - (unsigned long long) (FILESIZE * 1000 / (1+GNUNET_TIME_absolute_get_duration (start).value) / 1024)); + (unsigned long long) (FILESIZE * 1000 / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024)); if (0 == strcmp ("list_indexed-context-dir", event->value.publish.cctx)) GNUNET_SCHEDULER_add_continuation (sched, @@ -129,10 +129,10 @@ progress_cb (void *cls, GNUNET_assert (publish == event->value.publish.pc); #if VERBOSE printf ("Publish is progressing (%llu/%llu at level %u off %llu)...\n", - (unsigned long long) event->value.publish.completed, - (unsigned long long) event->value.publish.size, - event->value.publish.specifics.progress.depth, - (unsigned long long) event->value.publish.specifics.progress.offset); + (unsigned long long) event->abs_value.publish.completed, + (unsigned long long) event->abs_value.publish.size, + event->abs_value.publish.specifics.progress.depth, + (unsigned long long) event->abs_value.publish.specifics.progress.offset); #endif break; case GNUNET_FS_STATUS_PUBLISH_ERROR: |