diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-20 15:00:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-20 15:00:22 +0000 |
commit | b52d7c9c0d71274c1c0d5a13382cd8cdfac8226f (patch) | |
tree | 1faccf160d1c726bc3270be5cb82c37b5e9325e1 /src | |
parent | 184c653a98dd3674d2607f72b9db9f13dcdeae8b (diff) | |
download | gnunet-b52d7c9c0d71274c1c0d5a13382cd8cdfac8226f.tar.gz gnunet-b52d7c9c0d71274c1c0d5a13382cd8cdfac8226f.zip |
changes, almost done
Diffstat (limited to 'src')
-rw-r--r-- | src/ats-tool/gnunet-ats.c | 6 | ||||
-rw-r--r-- | src/ats/ats_api_performance.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 2219363d5..0ab05bab9 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c | |||
@@ -283,11 +283,6 @@ void testservice_ats (void *cls, | |||
283 | FPRINTF (stderr, _("Failed to parse peer identity `%s'\n"), pid_str); | 283 | FPRINTF (stderr, _("Failed to parse peer identity `%s'\n"), pid_str); |
284 | return; | 284 | return; |
285 | } | 285 | } |
286 | if (NULL == type_str) | ||
287 | { | ||
288 | FPRINTF (stderr, "%s", _("Type required\n")); | ||
289 | return; | ||
290 | } | ||
291 | } | 286 | } |
292 | 287 | ||
293 | c = op_list_all + op_list_used + op_monitor + op_set_pref; | 288 | c = op_list_all + op_list_used + op_monitor + op_set_pref; |
@@ -411,6 +406,7 @@ main (int argc, char *const *argv) | |||
411 | op_monitor = GNUNET_NO; | 406 | op_monitor = GNUNET_NO; |
412 | op_list_all = GNUNET_NO; | 407 | op_list_all = GNUNET_NO; |
413 | op_list_used = GNUNET_NO; | 408 | op_list_used = GNUNET_NO; |
409 | op_set_pref = GNUNET_NO; | ||
414 | pending = 0; | 410 | pending = 0; |
415 | receive_done = GNUNET_NO; | 411 | receive_done = GNUNET_NO; |
416 | 412 | ||
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index 855e983b5..566b0cce3 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, | |||
504 | (0 == ats_count)) | 504 | (0 == ats_count)) |
505 | { | 505 | { |
506 | /* Done */ | 506 | /* Done */ |
507 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
508 | _("Received last message for %s \n"), "ATS_ADDRESSLIST_RESPONSE"); | ||
507 | bandwidth_zero.value__ = htonl (0); | 509 | bandwidth_zero.value__ = htonl (0); |
508 | alh->cb (ph->infocb_cls, | 510 | alh->cb (ph->infocb_cls, |
509 | NULL, | 511 | NULL, |
@@ -517,7 +519,7 @@ process_ar_message (struct GNUNET_ATS_PerformanceHandle *ph, | |||
517 | address.address_length = plugin_address_length; | 519 | address.address_length = plugin_address_length; |
518 | address.transport_name = plugin_name; | 520 | address.transport_name = plugin_name; |
519 | 521 | ||
520 | if ((GNUNET_YES == alh->all_peers) || (GNUNET_YES == active)) | 522 | if ((GNUNET_YES == alh->all_addresses) || (GNUNET_YES == active)) |
521 | { | 523 | { |
522 | alh->cb (ph->infocb_cls, | 524 | alh->cb (ph->infocb_cls, |
523 | &address, | 525 | &address, |