Hans Leidekker : msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.
Alexandre Julliard
julliard at winehq.org
Fri Dec 18 10:49:09 CST 2009
Module: wine
Branch: master
Commit: 839e487c842d328fe4fa7823a5f3f7d51c54ba42
URL: http://source.winehq.org/git/wine.git/?a=commit;h=839e487c842d328fe4fa7823a5f3f7d51c54ba42
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Dec 18 11:03:03 2009 +0100
msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.
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,
More information about the wine-cvs
mailing list