Commit 839e487c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.

Fixes a regression introduced by ef522c5e.
parent 699cfc91
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment