Author: pschweitzer
Date: Wed Aug 3 14:41:23 2016
New Revision: 72097
URL:
http://svn.reactos.org/svn/reactos?rev=72097&view=rev
Log:
[MPR]
Return the correct local name in case of automatic redirection.
Alreaedy sent upstream.
CORE-11757
Modified:
trunk/reactos/dll/win32/mpr/wnet.c
Modified: trunk/reactos/dll/win32/mpr/wnet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/wnet.c?rev=7…
==============================================================================
--- trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] Wed Aug 3 14:41:23 2016
@@ -1918,7 +1918,7 @@
else if ((caps & WNNC_CON_ADDCONNECTION) &&
provider->addConnection)
ret = provider->addConnection(&netres, ctxt->password,
ctxt->userid);
- if (redirect)
+ if (ret != NO_ERROR && redirect)
letter[0] -= 1;
} while (redirect && ret == WN_ALREADY_CONNECTED && letter[0] >=
'c');