gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8657 - GNUnet/src/applications/testing


From: gnunet
Subject: [GNUnet-SVN] r8657 - GNUnet/src/applications/testing
Date: Thu, 9 Jul 2009 16:36:06 -0600

Author: nevans
Date: 2009-07-09 16:36:06 -0600 (Thu, 09 Jul 2009)
New Revision: 8657

Modified:
   GNUnet/src/applications/testing/remote.c
Log:


Modified: GNUnet/src/applications/testing/remote.c
===================================================================
--- GNUnet/src/applications/testing/remote.c    2009-07-09 22:32:59 UTC (rev 
8656)
+++ GNUnet/src/applications/testing/remote.c    2009-07-09 22:36:06 UTC (rev 
8657)
@@ -264,12 +264,12 @@
   unsigned long long temp_port;
   unsigned long long topology;
 
-  unsigned int extra_daemons;
+  unsigned long long extra_daemons;
   unsigned int count;
   unsigned int count_started;
   unsigned int length;
   unsigned int length_temp;
-  unsigned int num_machines;
+  unsigned long long num_machines;
   unsigned int i;
   unsigned int j;
   unsigned int pos;
@@ -381,10 +381,10 @@
   daemons_per_machine = number_of_daemons / num_machines;
   extra_daemons = number_of_daemons - (daemons_per_machine * num_machines);
 #if VERBOSE
-  fprintf (stdout, "Have %u machines, need to start %u daemons\n",
+  fprintf (stdout, "Have %llu machines, need to start %llu daemons\n",
            num_machines, number_of_daemons);
-  fprintf(stdout, "Total started without extra is %u\n", daemons_per_machine * 
num_machines);
-  fprintf (stdout, "Will start %u per machine, and %u extra\n",
+  fprintf(stdout, "Total started without extra is %llu\n", daemons_per_machine 
* num_machines);
+  fprintf (stdout, "Will start %llu per machine, and %llu extra\n",
            daemons_per_machine, extra_daemons);
 #endif
   i = 0;





reply via email to

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