diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-23 17:10:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-23 17:10:38 +0000 |
commit | 2cdcd2373d34ffa015fe0cdfd11d722c37520d97 (patch) | |
tree | 6de976024ba8338a54b76110290c0d1ca772d1d8 /src/transport/gnunet-service-transport.c | |
parent | 69f9662283ade69910b500e00f491a47c1b4eb8c (diff) | |
download | gnunet-2cdcd2373d34ffa015fe0cdfd11d722c37520d97.tar.gz gnunet-2cdcd2373d34ffa015fe0cdfd11d722c37520d97.zip |
-more logging and doxygen fixes
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 9399ece7d..ed7a6b81b 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -561,7 +561,11 @@ GST_ats_add_address (const struct GNUNET_HELLO_Address *address, | |||
561 | } | 561 | } |
562 | 562 | ||
563 | if (GNUNET_YES == GNUNET_ATS_session_known (GST_ats, address, session)) | 563 | if (GNUNET_YES == GNUNET_ATS_session_known (GST_ats, address, session)) |
564 | { | ||
565 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
566 | "ATS already knows the address, not passing it on again\n"); | ||
564 | return; | 567 | return; |
568 | } | ||
565 | 569 | ||
566 | net = papi->get_network (NULL, session); | 570 | net = papi->get_network (NULL, session); |
567 | if (GNUNET_ATS_NET_UNSPECIFIED == net) | 571 | if (GNUNET_ATS_NET_UNSPECIFIED == net) |
@@ -754,7 +758,7 @@ ats_request_address_change (void *cls, | |||
754 | uint32_t bw_out = ntohl (bandwidth_out.value__); | 758 | uint32_t bw_out = ntohl (bandwidth_out.value__); |
755 | 759 | ||
756 | /* ATS tells me to disconnect from peer */ | 760 | /* ATS tells me to disconnect from peer */ |
757 | if ((bw_in == 0) && (bw_out == 0)) | 761 | if ((0 == bw_in) && (0 == bw_out)) |
758 | { | 762 | { |
759 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 763 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
760 | "ATS tells me to disconnect from peer `%s'\n", | 764 | "ATS tells me to disconnect from peer `%s'\n", |