Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
11b25a65
Commit
11b25a65
authored
Feb 15, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fixed error reporting of add_streams_to_table.
parent
f1a688a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
streams.c
dlls/msi/streams.c
+5
-4
No files found.
dlls/msi/streams.c
View file @
11b25a65
...
...
@@ -439,7 +439,7 @@ static const MSIVIEWOPS streams_ops =
NULL
,
};
static
U
INT
add_streams_to_table
(
MSISTREAMSVIEW
*
sv
)
static
INT
add_streams_to_table
(
MSISTREAMSVIEW
*
sv
)
{
IEnumSTATSTG
*
stgenum
=
NULL
;
STATSTG
stat
;
...
...
@@ -498,6 +498,7 @@ static UINT add_streams_to_table(MSISTREAMSVIEW *sv)
UINT
STREAMS_CreateView
(
MSIDATABASE
*
db
,
MSIVIEW
**
view
)
{
MSISTREAMSVIEW
*
sv
;
INT
rows
;
TRACE
(
"(%p, %p)
\n
"
,
db
,
view
);
...
...
@@ -507,10 +508,10 @@ UINT STREAMS_CreateView(MSIDATABASE *db, MSIVIEW **view)
sv
->
view
.
ops
=
&
streams_ops
;
sv
->
db
=
db
;
sv
->
num_rows
=
add_streams_to_table
(
sv
);
if
(
sv
->
num_rows
<
0
)
rows
=
add_streams_to_table
(
sv
);
if
(
rows
<
0
)
return
ERROR_FUNCTION_FAILED
;
sv
->
num_rows
=
rows
;
*
view
=
(
MSIVIEW
*
)
sv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment