aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-03-26 22:32:12 +0100
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-03-26 22:32:12 +0100
commit33054bb2a8d6272e2f137e8be1833ff9e469c177 (patch)
treec78739fcf778dc56540877d255ae25766255a672 /src/transport/gnunet-service-tng.c
parent040ebbd2039e5ae0ba93ad3b7976721088ff6294 (diff)
downloadgnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.tar.gz
gnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.zip
-more coverity fixes
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r--src/transport/gnunet-service-tng.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c
index 468048bec..cbf795eea 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -9639,11 +9639,13 @@ handle_add_queue_message (void *cls,
9639 { 9639 {
9640 if (queue->qid != aqm->qid) 9640 if (queue->qid != aqm->qid)
9641 continue; 9641 continue;
9642 neighbour = queue->neighbour;
9643 break; 9642 break;
9644 } 9643 }
9645 if (NULL == queue) 9644
9645 if (NULL != queue)
9646 { 9646 {
9647 neighbour = queue->neighbour;
9648 } else {
9647 neighbour = lookup_neighbour (&aqm->receiver); 9649 neighbour = lookup_neighbour (&aqm->receiver);
9648 if (NULL == neighbour) 9650 if (NULL == neighbour)
9649 { 9651 {