quic: fix coverity warning

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I277f2e9ae2b763f5833778406d11218211163e43
This commit is contained in:
Florin Coras
2021-05-03 08:34:53 -07:00
parent 694046cf8e
commit ba9cb1ba37

View File

@@ -646,11 +646,11 @@ static int
quic_send_datagram (session_t *udp_session, struct iovec *packet,
quicly_address_t *dest, quicly_address_t *src)
{
u32 max_enqueue;
u32 max_enqueue, len;
session_dgram_hdr_t hdr;
u32 len, ret;
svm_fifo_t *f;
transport_connection_t *tc;
int ret;
len = packet->iov_len;
f = udp_session->tx_fifo;