Author: cgutman
Date: Thu Aug 12 13:15:35 2010
New Revision: 48523
URL:
http://svn.reactos.org/svn/reactos?rev=48523&view=rev
Log:
- I hate catching these things as the commit is going out
Modified:
trunk/reactos/dll/win32/msafd/misc/dllmain.c
Modified: trunk/reactos/dll/win32/msafd/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/dllma…
==============================================================================
--- trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] Thu Aug 12 13:15:35 2010
@@ -1944,12 +1944,12 @@
}
*lpErrno = GetSocketInformation(Socket, AFD_INFO_RECEIVE_CONTENT_SIZE,
(PULONG)lpvOutBuffer, NULL);
if (*lpErrno != NO_ERROR)
+ return SOCKET_ERROR;
+ else
{
*lpcbBytesReturned = sizeof(ULONG);
- return SOCKET_ERROR;
+ return NO_ERROR;
}
- else
- return NO_ERROR;
default:
*lpErrno = Socket->HelperData->WSHIoctl(Socket->HelperContext,
Handle,