[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: TNG: Removed undefined variable and fixe
From: |
gnunet |
Subject: |
[gnunet] branch master updated: TNG: Removed undefined variable and fixed formating issues |
Date: |
Tue, 02 May 2023 13:13:42 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d5669e84f TNG: Removed undefined variable and fixed formating issues
d5669e84f is described below
commit d5669e84fad7467da6f2df207bda15f3cd227b59
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Tue May 2 13:13:14 2023 +0200
TNG: Removed undefined variable and fixed formating issues
---
src/transport/gnunet-service-tng.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/transport/gnunet-service-tng.c
b/src/transport/gnunet-service-tng.c
index f2852c71a..e797a12a0 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -4522,7 +4522,7 @@ queue_send_msg (struct Queue *queue,
pa = pa->next_pa;
pa->num_send++;
}
- //GNUNET_CONTAINER_multiuuidmap_get (pending_acks,
&ack[i].ack_uuid.value);
+ // GNUNET_CONTAINER_multiuuidmap_get (pending_acks,
&ack[i].ack_uuid.value);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Sending message MID %lu of type %u (%u) and size %lu with MQ
%p QID %lu\n",
GNUNET_ntohll (smt->mid),
@@ -5134,9 +5134,9 @@ consider_sending_fc (void *cls)
fc.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_FLOW_CONTROL);
fc.header.size = htons (sizeof(fc));
fc.seq = htonl (vl->fc_seq_gen++);
- fc.inbound_window_size = GNUNET_htonll (vl->incoming_fc_window_size +
- vl->incoming_fc_window_size_used +
- vl->incoming_fc_window_size_loss);
+ fc.inbound_window_size = GNUNET_htonll (vl->incoming_fc_window_size
+ + vl->incoming_fc_window_size_used
+ + vl->incoming_fc_window_size_loss);
fc.outbound_sent = GNUNET_htonll (vl->outbound_fc_window_size_used);
fc.outbound_window_size = GNUNET_htonll (vl->outbound_fc_window_size);
fc.sender_time = GNUNET_TIME_absolute_hton (monotime);
@@ -10147,9 +10147,8 @@ transmit_on_queue (void *cls)
// wait_multiplier = wait_multiplier * pm->vl->pending_msg_num;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Wait multiplier %u num pending msg %u\n",
- wait_multiplier,
- pm->vl->pending_msg_num);
+ "Wait multiplier %u\n",
+ wait_multiplier);
/* Message not finished, waiting for acknowledgement.
Update time by which we might retransmit 's' based on queue
@@ -10843,7 +10842,7 @@ check_validation_request_pending (void *cls,
if ((GNUNET_YES == vs->awaiting_queue) &&
(0 == strcmp (address_without_port_vs, address_without_port_q)))
{
-
+
vs->awaiting_queue = GNUNET_NO;
validation_transmit_on_queue (q, vs);
success = GNUNET_NO;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: TNG: Removed undefined variable and fixed formating issues,
gnunet <=