aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_download.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-25 13:17:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-25 13:17:52 +0000
commit9b171e93182f1a07be94142abfd1766dc5ea04ca (patch)
tree9e328cd60d759e2a5c889c1c6ef4909ac80f8fb2 /src/fs/test_fs_download.c
parentc899b45a0864a41ba052d906a3f9f0ecaf07bf14 (diff)
downloadgnunet-9b171e93182f1a07be94142abfd1766dc5ea04ca.tar.gz
gnunet-9b171e93182f1a07be94142abfd1766dc5ea04ca.zip
handle indexed data correctly:
Diffstat (limited to 'src/fs/test_fs_download.c')
-rw-r--r--src/fs/test_fs_download.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c
index 44e2cc48b..45df96043 100644
--- a/src/fs/test_fs_download.c
+++ b/src/fs/test_fs_download.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 (C) 2004, 2005, 2006, 2008, 2009 Christian Grothoff (and other contributing authors) 3 (C) 2004, 2005, 2006, 2008, 2009, 2011 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -153,7 +153,7 @@ progress_cb (void *cls,
153 printf ("Publishing complete, %llu kbps.\n", 153 printf ("Publishing complete, %llu kbps.\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", 156 "Publishing speed (insertion)",
157 (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL), 157 (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL),
158 "kb/s"); 158 "kb/s");
159 fn = GNUNET_DISK_mktemp ("gnunet-download-test-dst"); 159 fn = GNUNET_DISK_mktemp ("gnunet-download-test-dst");
@@ -174,7 +174,7 @@ progress_cb (void *cls,
174 printf ("Download complete, %llu kbps.\n", 174 printf ("Download complete, %llu kbps.\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", 177 "Local download speed (inserted)",
178 (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL), 178 (unsigned long long) (FILESIZE * 1000LL / (1+GNUNET_TIME_absolute_get_duration (start).rel_value) / 1024LL),
179 "kb/s"); 179 "kb/s");
180 GNUNET_SCHEDULER_add_now (&abort_download_task, 180 GNUNET_SCHEDULER_add_now (&abort_download_task,