summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_ats.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-10 17:46:12 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-10 17:46:12 +0000
commitaedaaed687db1ff20b447378f01ad7306921450c (patch)
tree1ac0347d14d992a191111ab5822bae4c92a271b6 /src/transport/gnunet-service-transport_ats.c
parentb861288c1689fe2274fb7d08e207e8db5af3c716 (diff)
-check RV
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.c')
-rw-r--r--src/transport/gnunet-service-transport_ats.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_ats.c b/src/transport/gnunet-service-transport_ats.c
index cb05e2fef..613f35ec2 100644
--- a/src/transport/gnunet-service-transport_ats.c
+++ b/src/transport/gnunet-service-transport_ats.c
@@ -264,6 +264,7 @@ unblock_address (void *cls,
ai->address,
ai->session,
NULL, 0);
+ GNUNET_break (NULL != ai->ar);
/* FIXME: should pass ATS information here! */
}
@@ -394,6 +395,7 @@ GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address,
session,
(NULL != session) ? ats2 : ats,
(NULL != session) ? ats_count + 1 : ats_count);
+ GNUNET_break (NULL != ar);
ai = GNUNET_new (struct AddressInfo);
ai->address = GNUNET_HELLO_address_copy (address);
ai->session = session;
@@ -444,6 +446,7 @@ GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
NULL,
ats,
ats_count);
+ GNUNET_break (NULL != ar);
ai = GNUNET_new (struct AddressInfo);
ai->address = GNUNET_HELLO_address_copy (address);
ai->ar = ar;