From e7ddb84a0a782ad1c15a0fa5cda7a299541c876c Mon Sep 17 00:00:00 2001 From: dreamwind1985 Date: Fri, 12 Jul 2024 19:14:01 +0800 Subject: [PATCH] fix xqc_log_event parameter bug (#440) Co-authored-by: dreamwind.ll --- src/transport/xqc_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/xqc_conn.c b/src/transport/xqc_conn.c index 62ac6994..bc1daa65 100644 --- a/src/transport/xqc_conn.c +++ b/src/transport/xqc_conn.c @@ -2243,7 +2243,7 @@ xqc_process_packet_without_pn(xqc_connection_t *conn, xqc_path_ctx_t *path, xqc_ ssize_t sent = xqc_send(conn, path, packet_out->po_buf, packet_out->po_used_size); xqc_log(conn->log, XQC_LOG_INFO, "|<==|conn:%p|size:%ud|sent:%z|pkt_type:%s|", conn, packet_out->po_used_size, sent, xqc_pkt_type_2_str(packet_out->po_pkt.pkt_type)); - xqc_log_event(conn->log, TRA_PACKET_SENT, conn, packet_out, NULL, 0, sent, 0); + xqc_log_event(conn->log, TRA_PACKET_SENT, conn, packet_out, path, 0, sent, 0); if (sent > 0) { xqc_conn_log_sent_packet(conn, packet_out, xqc_monotonic_timestamp()); }