Skip to content

Commit 58f8f36

Browse files
committed
clang-format
1 parent 9275ad4 commit 58f8f36

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

lib/quicly.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -5408,9 +5408,8 @@ static int handle_ack_frame(quicly_conn_t *conn, struct st_quicly_handle_payload
54085408
* phase. */
54095409
int cc_limited = conn->super.ctx->cc_recognize_app_limited ? conn->egress.cc_limited : 1;
54105410
conn->egress.cc.type->cc_on_acked(&conn->egress.cc, &conn->egress.loss, (uint32_t)bytes_acked, frame.largest_acknowledged,
5411-
(uint32_t)(conn->egress.loss.sentmap.bytes_in_flight + bytes_acked),
5412-
cc_limited, conn->egress.packet_number, conn->stash.now,
5413-
conn->egress.max_udp_payload_size);
5411+
(uint32_t)(conn->egress.loss.sentmap.bytes_in_flight + bytes_acked), cc_limited,
5412+
conn->egress.packet_number, conn->stash.now, conn->egress.max_udp_payload_size);
54145413
QUICLY_PROBE(QUICTRACE_CC_ACK, conn, conn->stash.now, &conn->egress.loss.rtt, conn->egress.cc.cwnd,
54155414
conn->egress.loss.sentmap.bytes_in_flight);
54165415
}

t/pacer.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,13 @@ static void test_fast(void)
140140
now = test_pattern(&pacer, now, bytes_per_msec,
141141
(const struct pattern[]){
142142
{1, 84 * mtu, 84 * mtu}, /* borrow 800 bytes */
143-
{2, 83 * mtu, 83 * mtu}, /* borrowing 400 bytes */
144-
{3, 83 * mtu, 83 * mtu}, /* borrowing 0 bytes */
145-
{4, 84 * mtu, 84 * mtu}, /* borrowing 800 bytes */
143+
{2, 83 * mtu, 83 * mtu}, /* borrowing 400 bytes */
144+
{3, 83 * mtu, 83 * mtu}, /* borrowing 0 bytes */
145+
{4, 84 * mtu, 84 * mtu}, /* borrowing 800 bytes */
146146
{0},
147147
});
148148
}
149149

150-
151150
void test_pacer(void)
152151
{
153152
subtest("calc-rate", test_calc_rate);

0 commit comments

Comments
 (0)