aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_ats.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-10 16:45:26 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-10 16:45:26 +0000
commit75264ef067a70a1b0c01dcab46264d4f31217a5f (patch)
tree690c7ade80810c6cb33bd83e1562d30ca2a0fd06 /src/transport/gnunet-service-transport_ats.c
parent6cf96e80986552390556f36bd6e464d48c1a4b88 (diff)
downloadgnunet-75264ef067a70a1b0c01dcab46264d4f31217a5f.tar.gz
gnunet-75264ef067a70a1b0c01dcab46264d4f31217a5f.zip
-fixing some memory leaks from #3667, also reindentation and code cleanup
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.c')
-rw-r--r--src/transport/gnunet-service-transport_ats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_ats.c b/src/transport/gnunet-service-transport_ats.c
index 5abc0531b..cb05e2fef 100644
--- a/src/transport/gnunet-service-transport_ats.c
+++ b/src/transport/gnunet-service-transport_ats.c
@@ -575,9 +575,9 @@ GST_ats_update_metrics (const struct GNUNET_HELLO_Address *address,
575 and if we get metrics for those, they were never known to 575 and if we get metrics for those, they were never known to
576 ATS which means we end up here (however, in this 576 ATS which means we end up here (however, in this
577 case, the address must be an outbound address). */ 577 case, the address must be an outbound address). */
578 GNUNET_assert (GNUNET_YES != 578 GNUNET_break (GNUNET_YES !=
579 GNUNET_HELLO_address_check_option (address, 579 GNUNET_HELLO_address_check_option (address,
580 GNUNET_HELLO_ADDRESS_INFO_INBOUND)); 580 GNUNET_HELLO_ADDRESS_INFO_INBOUND));
581 return; 581 return;
582 } 582 }
583 /* Call to manipulation to manipulate ATS information */ 583 /* Call to manipulation to manipulate ATS information */