Author: cgutman
Date: Tue Aug 10 06:14:13 2010
New Revision: 48505
URL:
http://svn.reactos.org/svn/reactos?rev=48505&view=rev
Log:
[MSWSOCK]
- Fix two more nasty typos that broke WSPListen
Modified:
branches/aicom-network-branch/dll/win32/mswsock/msafd/listen.c
Modified: branches/aicom-network-branch/dll/win32/mswsock/msafd/listen.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/dll/win32/…
==============================================================================
--- branches/aicom-network-branch/dll/win32/mswsock/msafd/listen.c [iso-8859-1]
(original)
+++ branches/aicom-network-branch/dll/win32/mswsock/msafd/listen.c [iso-8859-1] Tue Aug 10
06:14:13 2010
@@ -47,7 +47,7 @@
EnterCriticalSection(&Socket->Lock);
/* If the socket is connection-less, fail */
- if (MSAFD_IS_DGRAM_SOCK(Socket));
+ if (MSAFD_IS_DGRAM_SOCK(Socket))
{
/* Fail */
ErrorCode = WSAEOPNOTSUPP;
@@ -61,9 +61,9 @@
ErrorCode = NO_ERROR;
goto error;
}
- else if (Socket->SharedData.State != SocketConnected)
+ else if (Socket->SharedData.State != SocketBound)
{
- /* If we're not connected, fail */
+ /* If we're not bound, fail */
ErrorCode = WSAEINVAL;
goto error;
}