aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api2_core.c')
-rw-r--r--src/transport/transport_api2_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport_api2_core.c b/src/transport/transport_api2_core.c
index 607f26777..f00d00a44 100644
--- a/src/transport/transport_api2_core.c
+++ b/src/transport/transport_api2_core.c
@@ -600,15 +600,15 @@ handle_send_ok (void *cls,
600{ 600{
601 struct GNUNET_TRANSPORT_CoreHandle *h = cls; 601 struct GNUNET_TRANSPORT_CoreHandle *h = cls;
602 struct Neighbour *n; 602 struct Neighbour *n;
603 uint32_t bytes_msg; 603 uint16_t bytes_msg;
604 uint32_t bytes_physical; 604 uint32_t bytes_physical;
605 605
606 bytes_msg = ntohl (okm->bytes_msg); 606 bytes_msg = ntohs (okm->bytes_msg);
607 bytes_physical = ntohl (okm->bytes_physical); 607 bytes_physical = ntohl (okm->bytes_physical);
608 LOG (GNUNET_ERROR_TYPE_DEBUG, 608 LOG (GNUNET_ERROR_TYPE_DEBUG,
609 "Receiving SEND_OK message, transmission to %s %s.\n", 609 "Receiving SEND_OK message, transmission to %s %s.\n",
610 GNUNET_i2s (&okm->peer), 610 GNUNET_i2s (&okm->peer),
611 (GNUNET_OK == ntohl (okm->success)) 611 (GNUNET_OK == ntohs (okm->success))
612 ? "succeeded" 612 ? "succeeded"
613 : "failed"); 613 : "failed");
614 n = neighbour_find (h, 614 n = neighbour_find (h,