gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r363 - GNUnet/src/applications/fs/tools


From: durner
Subject: [GNUnet-SVN] r363 - GNUnet/src/applications/fs/tools
Date: Thu, 3 Mar 2005 13:18:04 -0800 (PST)

Author: durner
Date: 2005-03-03 13:17:58 -0800 (Thu, 03 Mar 2005)
New Revision: 363

Modified:
   GNUnet/src/applications/fs/tools/gnunet-insert.c
Log:
Fix output

Modified: GNUnet/src/applications/fs/tools/gnunet-insert.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-insert.c    2005-03-03 19:25:34 UTC 
(rev 362)
+++ GNUnet/src/applications/fs/tools/gnunet-insert.c    2005-03-03 21:17:58 UTC 
(rev 363)
@@ -128,7 +128,12 @@
   case upload_progress:
     if (*verboselevel == YES) {
       delta = event->data.UploadProgress.eta - cronTime(NULL);
-      printf(_("%16llu of %16llu bytes inserted (estimating %llu seconds to 
completion)                "),
+      printf(
+#ifdef MINGW
+      _("%12I64u of %12I64u bytes inserted (estimating %I64u seconds to 
completion)                "),
+#else
+      _("%16llu of %16llu bytes inserted (estimating %llu seconds to 
completion)                "),
+#endif
             event->data.UploadProgress.main_completed,
             event->data.UploadProgress.main_total,
             delta / cronSECONDS);      
@@ -138,7 +143,12 @@
   case upload_complete:
     if (*verboselevel == YES) {
       delta = event->data.UploadComplete.eta - 
event->data.UploadComplete.start_time;
-      printf(_("\nUpload of '%s' complete, %llu bytes took %llu seconds (%8.3f 
kbps).\n"),
+      printf(
+#ifdef MINGW
+      _("\nUpload of '%s' complete, %I64u bytes took %I64u seconds (%8.3f 
kbps).\n"),
+#else
+      _("\nUpload of '%s' complete, %I64u bytes took %I64u seconds (%8.3f 
kbps).\n"),
+#endif
             event->data.UploadComplete.filename,
             event->data.UploadComplete.total,
             delta / cronSECONDS,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]