Commit 262db807 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Change some gotos to return.

parent b8880e16
......@@ -558,22 +558,22 @@ static HRESULT WINAPI HttpProtocol_Continue(IInternetProtocol *iface, PROTOCOLDA
if (!pProtocolData)
{
WARN("Expected pProtocolData to be non-NULL\n");
goto done;
return S_OK;
}
else if (!This->request)
{
WARN("Expected request to be non-NULL\n");
goto done;
return S_OK;
}
else if (!This->http_negotiate)
{
WARN("Expected IHttpNegotiate pointer to be non-NULL\n");
goto done;
return S_OK;
}
else if (!This->protocol_sink)
{
WARN("Expected IInternetProtocolSink pointer to be non-NULL\n");
goto done;
return S_OK;
}
if (pProtocolData->pData == (LPVOID)BINDSTATUS_DOWNLOADINGDATA)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment