msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.
Fixes a regression introduced by ef522c5ef0
.
This commit is contained in:
parent
699cfc915a
commit
839e487c84
|
@ -167,7 +167,7 @@ UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm )
|
||||||
list_add_tail( &db->streams, &stream->entry );
|
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,
|
UINT read_raw_stream_data( MSIDATABASE *db, LPCWSTR stname,
|
||||||
|
|
Loading…
Reference in New Issue