From 542fe17a050b4493aa2c1ff6017b46f82b762340 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 23 Mar 2013 11:14:04 +0100 Subject: [PATCH] urlmon: Pass up error on error condition (Coverity). --- 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 559878064bf..2682465f2d9 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) {