diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-12-03 15:43:55 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-12-03 15:43:55 +0000 |
commit | f31790d110d6eed2aa78f336f96cc2240bd44c39 (patch) | |
tree | 85cae3a6e8b4d6725dd7e41a0468e706592410a3 /src | |
parent | 9455bca4742eb7570bb411c72540831e5e332222 (diff) | |
download | gnunet-f31790d110d6eed2aa78f336f96cc2240bd44c39.tar.gz gnunet-f31790d110d6eed2aa78f336f96cc2240bd44c39.zip |
- fix
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-regex-profiler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/gnunet-regex-profiler.c b/src/mesh/gnunet-regex-profiler.c index 6ea28a79c..96f2b30da 100644 --- a/src/mesh/gnunet-regex-profiler.c +++ b/src/mesh/gnunet-regex-profiler.c | |||
@@ -499,8 +499,8 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
499 | if (NULL != hc_handles) | 499 | if (NULL != hc_handles) |
500 | { | 500 | { |
501 | for (nhost = 0; nhost < num_hosts; nhost++) | 501 | for (nhost = 0; nhost < num_hosts; nhost++) |
502 | if (NULL != hc_handles[num_hosts]) | 502 | if (NULL != hc_handles[nhost]) |
503 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[num_hosts]); | 503 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[nhost]); |
504 | GNUNET_free (hc_handles); | 504 | GNUNET_free (hc_handles); |
505 | hc_handles = NULL; | 505 | hc_handles = NULL; |
506 | } | 506 | } |
@@ -1752,8 +1752,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1752 | fprintf (stderr, _("Host %s cannot start testbed\n"), | 1752 | fprintf (stderr, _("Host %s cannot start testbed\n"), |
1753 | GNUNET_TESTBED_host_get_hostname (hosts[nhost])); | 1753 | GNUNET_TESTBED_host_get_hostname (hosts[nhost])); |
1754 | for (nhost = 0; nhost < num_hosts; nhost++) | 1754 | for (nhost = 0; nhost < num_hosts; nhost++) |
1755 | if (NULL != hc_handles[num_hosts]) | 1755 | if (NULL != hc_handles[nhost]) |
1756 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[num_hosts]); | 1756 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handles[nhost]); |
1757 | GNUNET_free (hc_handles); | 1757 | GNUNET_free (hc_handles); |
1758 | hc_handles = NULL; | 1758 | hc_handles = NULL; |
1759 | break; | 1759 | break; |