mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
tcp_timer.c:solve Problem of parameter calculation exceeding the boundary
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
parent
e15100543f
commit
5fedb1e6de
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ static void tcp_xmit_probe(FAR struct net_driver_s *dev,
|
|||
|
||||
void tcp_update_timer(FAR struct tcp_conn_s *conn)
|
||||
{
|
||||
int timeout = tcp_get_timeout(conn);
|
||||
sclock_t timeout = tcp_get_timeout(conn);
|
||||
|
||||
if (timeout > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue