diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-28 15:48:44 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-01 11:03:54 +0100 |
commit | bb7f3701cecb49ca0faacb5e46d11fd07cf2ee02 (patch) | |
tree | 51b3d95ab872d4325c4c7057218e28958da75238 /ssl/quic/quic_ackm.c | |
parent | 1c44ed7bd3546d12fc95d8624e292412e357f789 (diff) |
Minor fixups
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20423)
Diffstat (limited to 'ssl/quic/quic_ackm.c')
-rw-r--r-- | ssl/quic/quic_ackm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssl/quic/quic_ackm.c b/ssl/quic/quic_ackm.c index f7986728f6..7478d5fc24 100644 --- a/ssl/quic/quic_ackm.c +++ b/ssl/quic/quic_ackm.c @@ -990,11 +990,12 @@ static void ackm_on_pkts_acked(OSSL_ACKM *ackm, const OSSL_ACKM_TX_PKT *apkt) apkt->largest_acked + 1); } + ainfo.tx_time = apkt->time; + ainfo.tx_size = apkt->num_bytes; + anext = apkt->anext; apkt->on_acked(apkt->cb_arg); /* may free apkt */ - ainfo.tx_time = apkt->time; - ainfo.tx_size = apkt->num_bytes; ackm->cc_method->on_data_acked(ackm->cc_data, &ainfo); } } |