diff options
Diffstat (limited to 'src/transport/transport_api_core.c')
-rw-r--r-- | src/transport/transport_api_core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/transport_api_core.c b/src/transport/transport_api_core.c index 55647508d..7d4b415bd 100644 --- a/src/transport/transport_api_core.c +++ b/src/transport/transport_api_core.c | |||
@@ -622,13 +622,14 @@ handle_send_ok (void *cls, const struct SendOkMessage *okm) | |||
622 | struct Neighbour *n; | 622 | struct Neighbour *n; |
623 | uint32_t bytes_msg; | 623 | uint32_t bytes_msg; |
624 | uint32_t bytes_physical; | 624 | uint32_t bytes_physical; |
625 | uint16_t success = ntohs (okm->success); | ||
625 | 626 | ||
626 | bytes_msg = ntohl (okm->bytes_msg); | 627 | bytes_msg = ntohs (okm->bytes_msg); |
627 | bytes_physical = ntohl (okm->bytes_physical); | 628 | bytes_physical = ntohl (okm->bytes_physical); |
628 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 629 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
629 | "Receiving SEND_OK message, transmission to %s %s.\n", | 630 | "Receiving SEND_OK message, transmission to %s %s.\n", |
630 | GNUNET_i2s (&okm->peer), | 631 | GNUNET_i2s (&okm->peer), |
631 | ntohl (okm->success) == GNUNET_OK ? "succeeded" : "failed"); | 632 | success == GNUNET_OK ? "succeeded" : "failed"); |
632 | n = neighbour_find (h, &okm->peer); | 633 | n = neighbour_find (h, &okm->peer); |
633 | if (NULL == n) | 634 | if (NULL == n) |
634 | { | 635 | { |