Jacek Caban : urlmon: Change some gotos to return.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 26 06:37:06 CDT 2007
Module: wine
Branch: master
Commit: 262db80776a8f06518b49175c43ec08949582ed6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=262db80776a8f06518b49175c43ec08949582ed6
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jul 26 00:13:44 2007 +0200
urlmon: Change some gotos to return.
---
dlls/urlmon/http.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c
index a720651..79858e6 100644
--- a/dlls/urlmon/http.c
+++ b/dlls/urlmon/http.c
@@ -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)
More information about the wine-cvs
mailing list