diff options
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index f93a140c5..0888a9032 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -689,7 +689,8 @@ GNUNET_TESTBED_hosts_load_from_loadleveler (const struct | |||
689 | return 0; | 689 | return 0; |
690 | if (NULL == hosts) | 690 | if (NULL == hosts) |
691 | goto cleanup; | 691 | goto cleanup; |
692 | qsort (hostnames, nhosts, sizeof (hostnames[0]), &strcmp); | 692 | qsort (hostnames, nhosts, sizeof (hostnames[0]), |
693 | (int (*)(const void *, const void *))&strcmp); | ||
693 | host_list = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Host *) * nhosts); | 694 | host_list = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Host *) * nhosts); |
694 | for (host = 0; host < nhosts; host++) | 695 | for (host = 0; host < nhosts; host++) |
695 | host_list[host] = GNUNET_TESTBED_host_create (hostnames[host], NULL, cfg, 0); | 696 | host_list[host] = GNUNET_TESTBED_host_create (hostnames[host], NULL, cfg, 0); |