struct SendTransmitContinuationContext *stcc = cls;
struct SendOkMessage send_ok_msg;
- //GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Payload: %u, On wire %u result: %i\n", bytes_payload, bytes_on_wire, success);
- /*
if (GNUNET_OK == success)
- GNUNET_assert (bytes_on_wire >= bytes_payload);
+ GST_neighbours_notify_payload_sent (&stcc->target, bytes_payload);
- else
- GNUNET_assert (bytes_on_wire <= bytes_payload);
-*/
send_ok_msg.header.size = htons (sizeof (send_ok_msg));
send_ok_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK);
send_ok_msg.bytes_msg = htonl (bytes_payload);
setup_monitoring_client (client, &msg->peer);
else
GNUNET_SERVER_transmit_context_append_data (tc, NULL, 0,
- GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE_RESPONSE);
+ GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE_RESPONSE);
GNUNET_SERVER_transmit_context_run (tc, GNUNET_TIME_UNIT_FOREVER_REL);
}