mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- The timeout value passed to tsleep is in milliseconds and so_linger is in seconds so convert to milliseconds
svn path=/trunk/; revision=41632
This commit is contained in:
@@ -190,7 +190,7 @@ soclose(so)
|
||||
goto drop;
|
||||
while (so->so_state & SS_ISCONNECTED) {
|
||||
error = tsleep((caddr_t)&so->so_timeo,
|
||||
PSOCK | PCATCH, netcls, so->so_linger);
|
||||
PSOCK | PCATCH, netcls, so->so_linger * 1000);
|
||||
if (error)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user