[PATCH] urlmon: pass up error on error condition (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Mar 23 05:14:04 CDT 2013
This does not look intended...
CID 990832
Ciao, Marcus
---
dlls/urlmon/protocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/urlmon/protocol.c b/dlls/urlmon/protocol.c
index 5598780..2682465 100644
--- a/dlls/urlmon/protocol.c
+++ b/dlls/urlmon/protocol.c
@@ -78,7 +78,7 @@ static HRESULT start_downloading(Protocol *protocol)
if(FAILED(hres)) {
protocol_close_connection(protocol);
report_result(protocol, hres);
- return S_OK;
+ return hres;
}
if(protocol->bindf & BINDF_NEEDFILE) {
--
1.7.10.4
More information about the wine-patches
mailing list