Author: cgutman
Date: Sat Oct 31 00:39:13 2009
New Revision: 43859
URL:
http://svn.reactos.org/svn/reactos?rev=43859&view=rev
Log:
- Remove some junk code which does nothing but crash
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 Oct 31
00:39:13 2009
@@ -824,19 +824,6 @@
register struct socket *so;
register int how;
{
- if (so == NULL)
- {
- register struct protosw *pr = NULL;
-
- how++;
- if (how & FREAD)
- sorflush(so);
- if (how & FWRITE)
- return ((*pr->pr_usrreq)(so, PRU_SHUTDOWN,
- (struct mbuf *)0, (struct mbuf *)0, (struct mbuf *)0));
- return (0);
- }
-
register struct protosw *pr = so->so_proto;
how++;