fixed: incorrect log channel
This commit is contained in:
parent
5cdea1eea0
commit
cf683713cb
2
ikcp.c
2
ikcp.c
@ -813,7 +813,7 @@ int ikcp_input(ikcpcb *kcp, const char *data, long size)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ikcp_canlog(kcp, IKCP_LOG_IN_ACK)) {
|
if (ikcp_canlog(kcp, IKCP_LOG_IN_ACK)) {
|
||||||
ikcp_log(kcp, IKCP_LOG_IN_DATA,
|
ikcp_log(kcp, IKCP_LOG_IN_ACK,
|
||||||
"input ack: sn=%lu rtt=%ld rto=%ld", (unsigned long)sn,
|
"input ack: sn=%lu rtt=%ld rto=%ld", (unsigned long)sn,
|
||||||
(long)_itimediff(kcp->current, ts),
|
(long)_itimediff(kcp->current, ts),
|
||||||
(long)kcp->rx_rto);
|
(long)kcp->rx_rto);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user