aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/gnunet-service-cadet_peer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c
index 8827009e2..b0eb6e526 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -2501,6 +2501,8 @@ GCP_try_connect (struct CadetPeer *peer)
2501 if (NULL == transport_handle) 2501 if (NULL == transport_handle)
2502 return; 2502 return;
2503 GCC_check_connections (); 2503 GCC_check_connections ();
2504 if (GNUNET_YES == GCP_is_neighbor (peer))
2505 return;
2504 hello = GCP_get_hello (peer); 2506 hello = GCP_get_hello (peer);
2505 if (NULL == hello) 2507 if (NULL == hello)
2506 return; 2508 return;