Author: akhaldi Date: Tue Nov 3 21:50:20 2015 New Revision: 69803 URL: http://svn.reactos.org/svn/reactos?rev=69803&view=rev Log: [WS2_32_NEW] Return SOCKET_ERROR instead of ErrorCode. By Peter Hater. CORE-10440
Modified: trunk/reactos/dll/win32/ws2_32_new/src/bhook.c Modified: trunk/reactos/dll/win32/ws2_32_new/src/bhook.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/bhook.c?rev=69803&r1=69802&r2=69803&view=diff ============================================================================== --- trunk/reactos/dll/win32/ws2_32_new/src/bhook.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/ws2_32_new/src/bhook.c [iso-8859-1] Tue Nov 3 21:50:20 2015 @@ -50,7 +50,7 @@ { /* Fail */ SetLastError(ErrorCode); - return ErrorCode; + return SOCKET_ERROR; } /* Return success */