Skip to content

Commit e7ddb84

Browse files
dreamwind1985dreamwind.ll
and
dreamwind.ll
authored
fix xqc_log_event parameter bug (#440)
Co-authored-by: dreamwind.ll <[email protected]>
1 parent 9746515 commit e7ddb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transport/xqc_conn.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ xqc_process_packet_without_pn(xqc_connection_t *conn, xqc_path_ctx_t *path, xqc_
22432243
ssize_t sent = xqc_send(conn, path, packet_out->po_buf, packet_out->po_used_size);
22442244
xqc_log(conn->log, XQC_LOG_INFO, "|<==|conn:%p|size:%ud|sent:%z|pkt_type:%s|",
22452245
conn, packet_out->po_used_size, sent, xqc_pkt_type_2_str(packet_out->po_pkt.pkt_type));
2246-
xqc_log_event(conn->log, TRA_PACKET_SENT, conn, packet_out, NULL, 0, sent, 0);
2246+
xqc_log_event(conn->log, TRA_PACKET_SENT, conn, packet_out, path, 0, sent, 0);
22472247
if (sent > 0) {
22482248
xqc_conn_log_sent_packet(conn, packet_out, xqc_monotonic_timestamp());
22492249
}

0 commit comments

Comments
 (0)