Skip to content

Commit 048e0fc

Browse files
committed
[MSWSOCK]
- Fix two more nasty typos that broke WSPListen svn path=/branches/aicom-network-branch/; revision=48505
1 parent f6d117d commit 048e0fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dll/win32/mswsock/msafd/listen.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ WSPListen(SOCKET Handle,
4747
EnterCriticalSection(&Socket->Lock);
4848

4949
/* If the socket is connection-less, fail */
50-
if (MSAFD_IS_DGRAM_SOCK(Socket));
50+
if (MSAFD_IS_DGRAM_SOCK(Socket))
5151
{
5252
/* Fail */
5353
ErrorCode = WSAEOPNOTSUPP;
@@ -61,9 +61,9 @@ WSPListen(SOCKET Handle,
6161
ErrorCode = NO_ERROR;
6262
goto error;
6363
}
64-
else if (Socket->SharedData.State != SocketConnected)
64+
else if (Socket->SharedData.State != SocketBound)
6565
{
66-
/* If we're not connected, fail */
66+
/* If we're not bound, fail */
6767
ErrorCode = WSAEINVAL;
6868
goto error;
6969
}

0 commit comments

Comments
 (0)