diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-26 15:59:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-26 15:59:32 +0000 |
commit | b11629b8f1822e8fadc1f6a25138c4586e61a38a (patch) | |
tree | 4386313eccbd4b60b476f46f20798d844ff89843 /src/transport/transport_api.c | |
parent | db0277d48a208cb6630e4507404a7b0e10f8eca2 (diff) | |
download | gnunet-b11629b8f1822e8fadc1f6a25138c4586e61a38a.tar.gz gnunet-b11629b8f1822e8fadc1f6a25138c4586e61a38a.zip |
never pass addresses for ourselves to ATS
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r-- | src/transport/transport_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index e84ef9898..55caf407a 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c | |||
@@ -990,7 +990,8 @@ transport_notify_ready (void *cls, | |||
990 | if (th->notify_size + sizeof (struct OutboundMessage) > size) | 990 | if (th->notify_size + sizeof (struct OutboundMessage) > size) |
991 | break; /* does not fit */ | 991 | break; /* does not fit */ |
992 | if (GNUNET_BANDWIDTH_tracker_get_delay | 992 | if (GNUNET_BANDWIDTH_tracker_get_delay |
993 | (&n->out_tracker, th->notify_size).rel_value_us > 0) | 993 | (&n->out_tracker, |
994 | th->notify_size).rel_value_us > 0) | ||
994 | break; /* too early */ | 995 | break; /* too early */ |
995 | GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); | 996 | GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); |
996 | n->hn = NULL; | 997 | n->hn = NULL; |