Author: pschweitzer
Date: Thu Aug  4 12:27:59 2016
New Revision: 72108

URL: http://svn.reactos.org/svn/reactos?rev=72108&view=rev
Log:
[MPR]
Check for the right capability.
Already 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=72108&r1=72107&r2=72108&view=diff
==============================================================================
--- trunk/reactos/dll/win32/mpr/wnet.c  [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/wnet.c  [iso-8859-1] Thu Aug  4 12:27:59 2016
@@ -2110,7 +2110,7 @@
         for (index = 0; index < providerTable->numProviders; index++)
         {
             if(providerTable->table[index].getCaps(WNNC_CONNECTION) &
-                WNNC_CON_GETCONNECTIONS)
+                WNNC_CON_CANCELCONNECTION)
             {
                 if (providerTable->table[index].cancelConnection)
                     ret = 
providerTable->table[index].cancelConnection((LPWSTR)lpName, fForce);


Reply via email to