aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_communication.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-02-24 19:06:37 +0100
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-02-24 19:06:37 +0100
commit46111957db87028c369ea4792b9c533a9dd09a33 (patch)
treeceb6b5bec9d440fa81a7f05d4561874ba7fb0d06 /src/transport/transport_api2_communication.c
parent52516482b8c9e67cadedff1da77313fd79abf4d1 (diff)
downloadgnunet-46111957db87028c369ea4792b9c533a9dd09a33.tar.gz
gnunet-46111957db87028c369ea4792b9c533a9dd09a33.zip
-sending messages working
Diffstat (limited to 'src/transport/transport_api2_communication.c')
-rw-r--r--src/transport/transport_api2_communication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport_api2_communication.c b/src/transport/transport_api2_communication.c
index b048ad851..3d9da08e4 100644
--- a/src/transport/transport_api2_communication.c
+++ b/src/transport/transport_api2_communication.c
@@ -677,7 +677,7 @@ handle_send_msg (void *cls, const struct GNUNET_TRANSPORT_SendMessageTo *smt)
677 struct GNUNET_TRANSPORT_QueueHandle *qh; 677 struct GNUNET_TRANSPORT_QueueHandle *qh;
678 678
679 for (qh = ch->queue_head; NULL != qh; qh = qh->next) 679 for (qh = ch->queue_head; NULL != qh; qh = qh->next)
680 if ((qh->queue_id == smt->qid) && 680 if ((qh->queue_id == ntohl (smt->qid)) &&
681 (0 == memcmp (&qh->peer, 681 (0 == memcmp (&qh->peer,
682 &smt->receiver, 682 &smt->receiver,
683 sizeof(struct GNUNET_PeerIdentity)))) 683 sizeof(struct GNUNET_PeerIdentity))))