aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-09 08:53:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-09 08:53:06 +0000
commitab024711eb32e6736ea93b3917b9a39f72c0f033 (patch)
tree93a133c901c8311c45c1322e5bf02c7c7283d5ab /src
parentafdfbb6c040443d1371c667ecc712254a35d515c (diff)
downloadgnunet-ab024711eb32e6736ea93b3917b9a39f72c0f033.tar.gz
gnunet-ab024711eb32e6736ea93b3917b9a39f72c0f033.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 7dbe26436..51382048d 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -1250,6 +1250,7 @@ GST_neighbours_switch_to_address_3way (const struct GNUNET_PeerIdentity *peer,
1250 1250
1251 // do not switch addresses just update quotas 1251 // do not switch addresses just update quotas
1252 if ( (is_connected (n)) && 1252 if ( (is_connected (n)) &&
1253 (NULL != n->address) &&
1253 (0 == GNUNET_HELLO_address_cmp (address, 1254 (0 == GNUNET_HELLO_address_cmp (address,
1254 n->address)) && 1255 n->address)) &&
1255 (n->session == session) ) 1256 (n->session == session) )