diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-26 22:32:12 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-26 22:32:12 +0100 |
commit | 33054bb2a8d6272e2f137e8be1833ff9e469c177 (patch) | |
tree | c78739fcf778dc56540877d255ae25766255a672 /src/transport/transport-testing-communicator.c | |
parent | 040ebbd2039e5ae0ba93ad3b7976721088ff6294 (diff) | |
download | gnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.tar.gz gnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.zip |
-more coverity fixes
Diffstat (limited to 'src/transport/transport-testing-communicator.c')
-rw-r--r-- | src/transport/transport-testing-communicator.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/transport-testing-communicator.c b/src/transport/transport-testing-communicator.c index de356fb9c..040f16d5d 100644 --- a/src/transport/transport-testing-communicator.c +++ b/src/transport/transport-testing-communicator.c | |||
@@ -548,6 +548,11 @@ handle_update_queue_message (void *cls, | |||
548 | tc_queue = tc_queue->next; | 548 | tc_queue = tc_queue->next; |
549 | } | 549 | } |
550 | } | 550 | } |
551 | if (NULL == tc_queue) | ||
552 | { | ||
553 | GNUNET_SERVICE_client_continue (client->client); | ||
554 | return; | ||
555 | } | ||
551 | GNUNET_assert (tc_queue->qid == msg->qid); | 556 | GNUNET_assert (tc_queue->qid == msg->qid); |
552 | GNUNET_assert (0 == GNUNET_memcmp (&tc_queue->peer_id, &msg->receiver)); | 557 | GNUNET_assert (0 == GNUNET_memcmp (&tc_queue->peer_id, &msg->receiver)); |
553 | tc_queue->nt = msg->nt; | 558 | tc_queue->nt = msg->nt; |