msi: Propagate errors from IStorage_OpenStream again in db_get_raw_stream.

Fixes a regression introduced by ef522c5ef0.
This commit is contained in:
Hans Leidekker 2009-12-18 11:03:03 +01:00 committed by Alexandre Julliard
parent 699cfc915a
commit 839e487c84
1 changed files with 1 additions and 1 deletions

View File

@ -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,