urlmon: Fix function name in the warning message.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-03-17 20:26:06 +03:00 committed by Alexandre Julliard
parent 76998f82de
commit 52c0e33536

View file

@ -498,7 +498,7 @@ HRESULT protocol_read(Protocol *protocol, void *buf, ULONG size, ULONG *read_ret
HRESULT protocol_lock_request(Protocol *protocol)
{
if (!InternetLockRequestFile(protocol->request, &protocol->lock))
WARN("InternetLockRequest failed: %d\n", GetLastError());
WARN("InternetLockRequestFile failed: %d\n", GetLastError());
return S_OK;
}
@ -509,7 +509,7 @@ HRESULT protocol_unlock_request(Protocol *protocol)
return S_OK;
if(!InternetUnlockRequestFile(protocol->lock))
WARN("InternetUnlockRequest failed: %d\n", GetLastError());
WARN("InternetUnlockRequestFile failed: %d\n", GetLastError());
protocol->lock = 0;
return S_OK;