diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-25 15:13:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-25 15:13:45 +0000 |
commit | a8698c1dc9200d021e0aa38ae1dcad6a44e57a6d (patch) | |
tree | f9b72fdff41015633935dff95f9352741bc1350c /src/fs/test_fs_download.c | |
parent | 2d84aa485a4e0801ce82266e0edc7dacd2da649d (diff) | |
download | gnunet-a8698c1dc9200d021e0aa38ae1dcad6a44e57a6d.tar.gz gnunet-a8698c1dc9200d021e0aa38ae1dcad6a44e57a6d.zip |
polishing
Diffstat (limited to 'src/fs/test_fs_download.c')
-rw-r--r-- | src/fs/test_fs_download.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c index 45df96043..5091c5a61 100644 --- a/src/fs/test_fs_download.c +++ b/src/fs/test_fs_download.c | |||
@@ -150,7 +150,7 @@ progress_cb (void *cls, | |||
150 | #endif | 150 | #endif |
151 | break; | 151 | break; |
152 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: | 152 | case GNUNET_FS_STATUS_PUBLISH_COMPLETED: |
153 | printf ("Publishing complete, %llu kbps.\n", | 153 | printf ("Publishing complete, %llu kb/s.\n", |
154 | (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL)); | 154 | (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL)); |
155 | GAUGER ("FS", | 155 | GAUGER ("FS", |
156 | "Publishing speed (insertion)", | 156 | "Publishing speed (insertion)", |
@@ -171,7 +171,7 @@ progress_cb (void *cls, | |||
171 | GNUNET_assert (download != NULL); | 171 | GNUNET_assert (download != NULL); |
172 | break; | 172 | break; |
173 | case GNUNET_FS_STATUS_DOWNLOAD_COMPLETED: | 173 | case GNUNET_FS_STATUS_DOWNLOAD_COMPLETED: |
174 | printf ("Download complete, %llu kbps.\n", | 174 | printf ("Download complete, %llu kb/s.\n", |
175 | (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL)); | 175 | (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL)); |
176 | GAUGER ("FS", | 176 | GAUGER ("FS", |
177 | "Local download speed (inserted)", | 177 | "Local download speed (inserted)", |