diff options
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 097253d06..487cec375 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -586,7 +586,14 @@ try_connect (const struct GNUNET_PeerIdentity *pid, | |||
586 | return; | 586 | return; |
587 | } | 587 | } |
588 | if (NULL == ci) | 588 | if (NULL == ci) |
589 | { | ||
589 | ci = GNUNET_new (struct ConnectInfo); | 590 | ci = GNUNET_new (struct ConnectInfo); |
591 | GNUNET_assert (GNUNET_OK == | ||
592 | GNUNET_CONTAINER_multipeermap_put (all_desired_peers, | ||
593 | pid, | ||
594 | ci, | ||
595 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); | ||
596 | } | ||
590 | if ( (NULL != GDS_transport_handle) && | 597 | if ( (NULL != GDS_transport_handle) && |
591 | (NULL != ci->oh) && | 598 | (NULL != ci->oh) && |
592 | (NULL != h) ) | 599 | (NULL != h) ) |