aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_clients.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-10-16 11:20:27 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-10-16 11:20:27 +0000
commit77990e170e992a745b7edde92fbb705247ab83e8 (patch)
tree5e686547c9bb6d8a752a00c08616a79e872cb8db /src/transport/gnunet-service-transport_clients.c
parent15f8a6f2e023e9da4b41153ecb3fafda2e23cfe7 (diff)
downloadgnunet-77990e170e992a745b7edde92fbb705247ab83e8.tar.gz
gnunet-77990e170e992a745b7edde92fbb705247ab83e8.zip
overhead reporting
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.c')
-rw-r--r--src/transport/gnunet-service-transport_clients.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c
index 1beb39ff6..065e8c4e6 100644
--- a/src/transport/gnunet-service-transport_clients.c
+++ b/src/transport/gnunet-service-transport_clients.c
@@ -562,11 +562,14 @@ struct SendTransmitContinuationContext
562 * @param success GNUNET_OK on success, GNUNET_NO on failure, GNUNET_SYSERR if we're not connected 562 * @param success GNUNET_OK on success, GNUNET_NO on failure, GNUNET_SYSERR if we're not connected
563 */ 563 */
564static void 564static void
565handle_send_transmit_continuation (void *cls, int success) 565handle_send_transmit_continuation (void *cls, int success,
566 size_t bytes_payload, size_t bytes_on_wire)
566{ 567{
567 struct SendTransmitContinuationContext *stcc = cls; 568 struct SendTransmitContinuationContext *stcc = cls;
568 struct SendOkMessage send_ok_msg; 569 struct SendOkMessage send_ok_msg;
569 570
571 //GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Payload: %u, On wire %u \n", bytes_payload, bytes_on_wire);
572
570 send_ok_msg.header.size = htons (sizeof (send_ok_msg)); 573 send_ok_msg.header.size = htons (sizeof (send_ok_msg));
571 send_ok_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK); 574 send_ok_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK);
572 send_ok_msg.success = htonl (success); 575 send_ok_msg.success = htonl (success);