[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3625 - GNUnet/src/applications/fs/tools
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3625 - GNUnet/src/applications/fs/tools |
Date: |
Fri, 3 Nov 2006 08:10:30 -0800 (PST) |
Author: grothoff
Date: 2006-11-03 08:10:29 -0800 (Fri, 03 Nov 2006)
New Revision: 3625
Modified:
GNUnet/src/applications/fs/tools/gnunet-download.c
Log:
fix
Modified: GNUnet/src/applications/fs/tools/gnunet-download.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-download.c 2006-11-03 16:06:04 UTC
(rev 3624)
+++ GNUnet/src/applications/fs/tools/gnunet-download.c 2006-11-03 16:10:29 UTC
(rev 3625)
@@ -106,18 +106,15 @@
GNUNET_SHUTDOWN_INITIATE();
break;
case FSUI_download_completed:
- if ( (event->data.DownloadProgress.completed ==
- event->data.DownloadProgress.total) ) {
- PRINTF(_("Download of file `%s' complete. "
- "Speed was %8.3f KiB per second.\n"),
- event->data.DownloadProgress.filename,
- (event->data.DownloadProgress.completed/1024.0) /
- (((double)(get_time()-(start_time - 1)))
- / (double)cronSECONDS) );
- if (dl == event->data.DownloadProgress.dc.pos) {
- errorCode = 0;
- GNUNET_SHUTDOWN_INITIATE();
- }
+ PRINTF(_("Download of file `%s' complete. "
+ "Speed was %8.3f KiB per second.\n"),
+ event->data.DownloadCompleted.filename,
+ (event->data.DownloadCompleted.total/1024.0) /
+ (((double)(get_time()-(start_time - 1)))
+ / (double)cronSECONDS) );
+ if (dl == event->data.DownloadCompleted.dc.pos) {
+ errorCode = 0;
+ GNUNET_SHUTDOWN_INITIATE();
}
break;
case FSUI_download_started:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3625 - GNUnet/src/applications/fs/tools,
grothoff <=