From b32d97100d82be835846846f28afe9ccc221ad57 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 4 Aug 2016 12:27:59 +0000 Subject: [PATCH] [MPR] Check for the right capability. Already sent upstream. CORE-11757 svn path=/trunk/; revision=72108 --- reactos/dll/win32/mpr/wnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/mpr/wnet.c b/reactos/dll/win32/mpr/wnet.c index 2d7fca8af3c..d5f12972ec8 100644 --- a/reactos/dll/win32/mpr/wnet.c +++ b/reactos/dll/win32/mpr/wnet.c @@ -2110,7 +2110,7 @@ DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce 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);