diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-22 22:55:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-22 22:55:05 +0100 |
commit | ff10602f5ab7df06dc850206159e76bd7a7891ea (patch) | |
tree | b58cfeacdbd851eeac2cc772ce77fec73bd4760b /src/transport/transport_api2_core.c | |
parent | 25b14e096d09acfee96219de359ecaa0b56e2a34 (diff) | |
download | gnunet-ff10602f5ab7df06dc850206159e76bd7a7891ea.tar.gz gnunet-ff10602f5ab7df06dc850206159e76bd7a7891ea.zip |
working on crazy fragmentation logic
Diffstat (limited to 'src/transport/transport_api2_core.c')
-rw-r--r-- | src/transport/transport_api2_core.c | 6 |
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, |