mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
tcp_timer.c:solve Problem of parameter calculation exceeding the boundary
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user