From abd1dcd0c76124296917e695b11ea3c7502ceb1a Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 26 Oct 2012 08:28:38 +0000 Subject: [PATCH] more changes --- src/transport/gnunet-service-transport_neighbours.c | 6 ++++-- src/transport/plugin_transport_udp.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index ac3e501a8..885bce307 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -1155,8 +1155,10 @@ transmit_send_continuation (void *cls, if (bytes_in_send_queue < mq->message_buf_size) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Bytes_in_send_queue `%u', Message_size %u\n", - bytes_in_send_queue, mq->message_buf_size); + "Bytes_in_send_queue `%u', Message_size %u, result: %s, payload %u, on wire %u\n", + bytes_in_send_queue, mq->message_buf_size, + (GNUNET_OK == success) ? "OK" : "FAIL", + size_payload, physical); GNUNET_break (0); } diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index a15f8f4f4..dd5d6388f 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -736,7 +736,7 @@ call_continuation (struct UDP_MessageWrapper *udpw, int result) { /* Transport continuation */ udpw->cont (udpw->cont_cls, &udpw->session->target, result, - udpw->payload_size, overhead); + udpw->payload_size, udpw->msg_size); } GNUNET_STATISTICS_update (plugin->env->stats, "# UDP, unfragmented msgs, messages, sent, success", -- 2.25.1