Author: akhaldi
Date: Tue Oct 4 18:36:00 2016
New Revision: 72904
URL:
http://svn.reactos.org/svn/reactos?rev=72904&view=rev
Log:
[MSAFD] Fix some error translations by Peter Hater. CORE-7487
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] Tue Oct 4 18:36:00 2016
@@ -347,6 +347,8 @@
return NO_ERROR;
case STATUS_FILE_CLOSED:
+ return WSAECONNRESET;
+
case STATUS_END_OF_FILE:
return WSAESHUTDOWN;
@@ -371,6 +373,7 @@
return WSAEADDRNOTAVAIL;
case STATUS_REMOTE_NOT_LISTENING:
+ case STATUS_REMOTE_DISCONNECT:
return WSAECONNREFUSED;
case STATUS_NETWORK_UNREACHABLE:
@@ -387,9 +390,6 @@
case STATUS_LOCAL_DISCONNECT:
return WSAECONNABORTED;
-
- case STATUS_REMOTE_DISCONNECT:
- return WSAECONNRESET;
case STATUS_ACCESS_VIOLATION:
return WSAEFAULT;