gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25195 - gnunet/src/testbed


From: gnunet
Subject: [GNUnet-SVN] r25195 - gnunet/src/testbed
Date: Mon, 3 Dec 2012 16:42:42 +0100

Author: harsha
Date: 2012-12-03 16:42:42 +0100 (Mon, 03 Dec 2012)
New Revision: 25195

Modified:
   gnunet/src/testbed/gnunet-testbed-profiler.c
Log:
- fix

Modified: gnunet/src/testbed/gnunet-testbed-profiler.c
===================================================================
--- gnunet/src/testbed/gnunet-testbed-profiler.c        2012-12-03 15:31:15 UTC 
(rev 25194)
+++ gnunet/src/testbed/gnunet-testbed-profiler.c        2012-12-03 15:42:42 UTC 
(rev 25195)
@@ -261,8 +261,8 @@
   if (NULL != hc_handles)
   {
     for (nhost = 0; nhost < num_hosts; nhost++)
-      if (NULL != hc_handles[num_hosts])
-        GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[num_hosts]);
+      if (NULL != hc_handles[nhost])
+        GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[nhost]);
     GNUNET_free (hc_handles);
     hc_handles = NULL;
   }
@@ -776,8 +776,8 @@
       fprintf (stderr, _("Host %s cannot start testbed\n"),
               GNUNET_TESTBED_host_get_hostname_ (hosts[nhost]));
       for (nhost = 0; nhost < num_hosts; nhost++)
-        if (NULL != hc_handles[num_hosts])
-          GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[num_hosts]);
+        if (NULL != hc_handles[nhost])
+          GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[nhost]);
       GNUNET_free (hc_handles);
       hc_handles = NULL;
       break;




reply via email to

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