summaryrefslogtreecommitdiff
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)
struct GNUNET_TRANSPORT_QueueHandle *qh;
for (qh = ch->queue_head; NULL != qh; qh = qh->next)
- if ((qh->queue_id == smt->qid) &&
+ if ((qh->queue_id == ntohl (smt->qid)) &&
(0 == memcmp (&qh->peer,
&smt->receiver,
sizeof(struct GNUNET_PeerIdentity))))