mirror of
https://github.com/reactos/reactos.git
synced 2024-07-17 09:56:10 +00:00
[MPR]
Check for the right capability. Already sent upstream. CORE-11757 svn path=/trunk/; revision=72108
This commit is contained in:
parent
8f8d1f4f72
commit
b32d97100d
|
@ -2110,7 +2110,7 @@ DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce
|
||||||
for (index = 0; index < providerTable->numProviders; index++)
|
for (index = 0; index < providerTable->numProviders; index++)
|
||||||
{
|
{
|
||||||
if(providerTable->table[index].getCaps(WNNC_CONNECTION) &
|
if(providerTable->table[index].getCaps(WNNC_CONNECTION) &
|
||||||
WNNC_CON_GETCONNECTIONS)
|
WNNC_CON_CANCELCONNECTION)
|
||||||
{
|
{
|
||||||
if (providerTable->table[index].cancelConnection)
|
if (providerTable->table[index].cancelConnection)
|
||||||
ret = providerTable->table[index].cancelConnection((LPWSTR)lpName, fForce);
|
ret = providerTable->table[index].cancelConnection((LPWSTR)lpName, fForce);
|
||||||
|
|
Loading…
Reference in a new issue