aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_communication.c
diff options
context:
space:
mode:
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))))