aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r--src/transport/gnunet-service-tng.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c
index 3cba49250..cbf795eea 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -6976,7 +6976,6 @@ handle_dv_learn (void *cls, const struct TransportDVLearnMessage *dvl)
6976 if (MAX_DV_HOPS_ALLOWED == nhops) 6976 if (MAX_DV_HOPS_ALLOWED == nhops)
6977 { 6977 {
6978 /* At limit, we're out of here! */ 6978 /* At limit, we're out of here! */
6979 finish_cmc_handling (cmc);
6980 return; 6979 return;
6981 } 6980 }
6982 6981
@@ -9640,11 +9639,13 @@ handle_add_queue_message (void *cls,
9640 { 9639 {
9641 if (queue->qid != aqm->qid) 9640 if (queue->qid != aqm->qid)
9642 continue; 9641 continue;
9643 neighbour = queue->neighbour;
9644 break; 9642 break;
9645 } 9643 }
9646 if (NULL == queue) 9644
9645 if (NULL != queue)
9647 { 9646 {
9647 neighbour = queue->neighbour;
9648 } else {
9648 neighbour = lookup_neighbour (&aqm->receiver); 9649 neighbour = lookup_neighbour (&aqm->receiver);
9649 if (NULL == neighbour) 9650 if (NULL == neighbour)
9650 { 9651 {