Author: cgutman
Date: Sat Jun 27 10:59:22 2009
New Revision: 41632
URL:
http://svn.reactos.org/svn/reactos?rev=41632&view=rev
Log:
- The timeout value passed to tsleep is in milliseconds and so_linger is in seconds so
convert to milliseconds
Modified:
trunk/reactos/lib/drivers/oskittcp/oskittcp/uipc_socket.c
Modified: trunk/reactos/lib/drivers/oskittcp/oskittcp/uipc_socket.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/oskittcp/oskit…
==============================================================================
--- trunk/reactos/lib/drivers/oskittcp/oskittcp/uipc_socket.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/oskittcp/oskittcp/uipc_socket.c [iso-8859-1] Sat Jun 27
10:59:22 2009
@@ -190,7 +190,7 @@
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;
}