aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-20 15:00:22 +0000
committerwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-20 15:00:22 +0000
commit28cbb5e1ddd0f77842f925d2576acff638a92b9e (patch)
tree1faccf160d1c726bc3270be5cb82c37b5e9325e1
parent258a0deee6c588f2995d98655be896c6085aaa4d (diff)
changes, almost done
git-svn-id: https://gnunet.org/svn/gnunet@25070 140774ce-b5e7-0310-ab8b-a85725594a96
-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,