Author: pschweitzer Date: Fri Jun 23 19:29:31 2017 New Revision: 75173
URL: http://svn.reactos.org/svn/reactos?rev=75173&view=rev Log: [MPR] Import Wine commit: - 8d461c1f42b0b667b2aa6a235d007eea1dd6f561, Don't stop enumeration on the first failing network provider.
This fixes 'net use' stoping connections enumeration when a network returns an error or no connection.
CORE-13475
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=75... ============================================================================== --- trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] Fri Jun 23 19:29:31 2017 @@ -1479,15 +1479,13 @@ ++curr; }
- if (*user_count != -1) - count = *user_count - total_count; - else - count = *user_count; size = left; }
- if (ret != WN_SUCCESS || total_count == 0) - break; + if (*user_count != -1) + count = *user_count - total_count; + else + count = *user_count; } }