[2/2] msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.
Hans Leidekker
hans at codeweavers.com
Fri Dec 18 04:03:03 CST 2009
Fixes a regression introduced by ef522c5ef0aeb2563885ad0a70ffe3fa3f1489f5.
---
dlls/msi/database.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/database.c b/dlls/msi/database.c
index 87fc113..b0966a2 100644
--- a/dlls/msi/database.c
+++ b/dlls/msi/database.c
@@ -167,7 +167,7 @@ UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm )
list_add_tail( &db->streams, &stream->entry );
}
- return ERROR_SUCCESS;
+ return SUCCEEDED(r) ? ERROR_SUCCESS : ERROR_FUNCTION_FAILED;
}
UINT read_raw_stream_data( MSIDATABASE *db, LPCWSTR stname,
--
1.6.3.3
More information about the wine-patches
mailing list