aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-10 16:42:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-10 16:42:47 +0000
commit61f0bfd3e80c61af6e422419a2071134c24d3468 (patch)
tree4a83848123b243f0930dc033cd2605cf5336b5f7 /src
parent120433e95422ae01d831fd0b8754253bcf9b54de (diff)
downloadgnunet-61f0bfd3e80c61af6e422419a2071134c24d3468.tar.gz
gnunet-61f0bfd3e80c61af6e422419a2071134c24d3468.zip
this break is not needed anymore, since we measure latency in neighbours
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_validation.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index cab5af882..682a46f09 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -1183,11 +1183,7 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
1183 ve = NULL; /* FIXME: lookup based on session... */ 1183 ve = NULL; /* FIXME: lookup based on session... */
1184 if (NULL == ve) 1184 if (NULL == ve)
1185 { 1185 {
1186 /* FIXME: this can happen for inbound connections (sender_address_len == 0); 1186 /* this can happen for inbound connections (sender_address_len == 0); */
1187 in that case, we should hack up some more code here to measure
1188 latency for inbound connections! Also, in this case we'll need the session...
1189 */
1190 GNUNET_break (0);
1191 return; 1187 return;
1192 } 1188 }
1193 GNUNET_break (ve->in_use != in_use); /* should be different... */ 1189 GNUNET_break (ve->in_use != in_use); /* should be different... */