Skip to content

Commit

Permalink
fix xqc_log_event parameter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamwind.ll committed Jul 11, 2024
1 parent 9746515 commit cb99143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/xqc_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit cb99143

Please sign in to comment.