Marcus Meissner : urlmon: Pass up error on error condition (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Mar 25 14:19:38 CDT 2013
Module: wine
Branch: master
Commit: 542fe17a050b4493aa2c1ff6017b46f82b762340
URL: http://source.winehq.org/git/wine.git/?a=commit;h=542fe17a050b4493aa2c1ff6017b46f82b762340
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Mar 23 11:14:04 2013 +0100
urlmon: Pass up error on error condition (Coverity).
---
dlls/urlmon/protocol.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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) {
More information about the wine-cvs
mailing list