aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ats-tool/gnunet-ats.c6
-rw-r--r--src/ats/ats_api_performance.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c
index 2219363d51..0ab05bab98 100644
--- a/src/ats-tool/gnunet-ats.c
+++ b/src/ats-tool/gnunet-ats.c
@@ -283,11 +283,6 @@ void testservice_ats (void *cls,
FPRINTF (stderr, _("Failed to parse peer identity `%s'\n"), pid_str);
return;
}
- if (NULL == type_str)
- {
- FPRINTF (stderr, "%s", _("Type required\n"));
- return;
- }
}
c = op_list_all + op_list_used + op_monitor + op_set_pref;
@@ -411,6 +406,7 @@ main (int argc, char *const *argv)
op_monitor = GNUNET_NO;
op_list_all = GNUNET_NO;
op_list_used = GNUNET_NO;
+ op_set_pref = GNUNET_NO;
pending = 0;
receive_done = GNUNET_NO;
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 855e983b56..566b0cce35 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -504,6 +504,8 @@ process_ar_message (struct GNUNET_ATS_PerformanceHandle *ph,
(0 == ats_count))
{
/* Done */
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ _("Received last message for %s \n"), "ATS_ADDRESSLIST_RESPONSE");
bandwidth_zero.value__ = htonl (0);
alh->cb (ph->infocb_cls,
NULL,
@@ -517,7 +519,7 @@ process_ar_message (struct GNUNET_ATS_PerformanceHandle *ph,
address.address_length = plugin_address_length;
address.transport_name = plugin_name;
- if ((GNUNET_YES == alh->all_peers) || (GNUNET_YES == active))
+ if ((GNUNET_YES == alh->all_addresses) || (GNUNET_YES == active))
{
alh->cb (ph->infocb_cls,
&address,