aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-20 13:14:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-20 13:14:42 +0000
commitde4fc4681c1924073a9812f025e979897e814099 (patch)
tree47f272a8ee24bd644cd2abafc6da83f17f08fad9 /src
parent2949077f90de08661dd3527230546d2601f6b5a6 (diff)
downloadgnunet-de4fc4681c1924073a9812f025e979897e814099.tar.gz
gnunet-de4fc4681c1924073a9812f025e979897e814099.zip
trying to fix assertion failure at :496
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 6e6d0982b..23ff82f91 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -1186,6 +1186,9 @@ GST_neighbours_force_disconnect (const struct GNUNET_PeerIdentity *target)
1186 GNUNET_STATISTICS_update (GST_stats, 1186 GNUNET_STATISTICS_update (GST_stats,
1187 gettext_noop ("# peers disconnected due to external request"), 1, 1187 gettext_noop ("# peers disconnected due to external request"), 1,
1188 GNUNET_NO); 1188 GNUNET_NO);
1189 n = lookup_neighbour (target);
1190 if (NULL == n)
1191 return; /* gone already */
1189 } 1192 }
1190 disconnect_neighbour (n); 1193 disconnect_neighbour (n);
1191} 1194}