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
1256a0c3
Commit
1256a0c3
authored
Aug 25, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't dereference variables in a trace.
parent
35dbc147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
package.c
dlls/msi/package.c
+11
-9
No files found.
dlls/msi/package.c
View file @
1256a0c3
...
...
@@ -881,7 +881,7 @@ UINT WINAPI MsiGetPropertyA(MSIHANDLE hInstall, LPCSTR szName, LPSTR szValueBuf,
MSIPACKAGE
*
package
;
UINT
ret
;
TRACE
(
"%lu %s %
lu
\n
"
,
hInstall
,
debugstr_a
(
szName
),
*
pchValueBuf
);
TRACE
(
"%lu %s %
p
\n
"
,
hInstall
,
debugstr_a
(
szName
),
pchValueBuf
);
if
(
0
==
hInstall
)
return
ERROR_INVALID_HANDLE
;
...
...
@@ -901,10 +901,10 @@ UINT WINAPI MsiGetPropertyA(MSIHANDLE hInstall, LPCSTR szName, LPSTR szValueBuf,
msiobj_release
(
&
package
->
hdr
);
/* MsiGetProperty does not return error codes on missing properties */
if
(
ret
!=
ERROR_MORE_DATA
)
ret
urn
ERROR_SUCCESS
;
else
return
ret
;
if
(
ret
!=
ERROR_MORE_DATA
)
ret
=
ERROR_SUCCESS
;
return
ret
;
}
...
...
@@ -914,6 +914,8 @@ UINT WINAPI MsiGetPropertyW(MSIHANDLE hInstall, LPCWSTR szName,
MSIPACKAGE
*
package
;
UINT
ret
;
TRACE
(
"%lu %s %p
\n
"
,
hInstall
,
debugstr_w
(
szName
),
pchValueBuf
);
if
(
0
==
hInstall
)
return
ERROR_INVALID_HANDLE
;
if
(
NULL
==
szName
)
...
...
@@ -932,8 +934,8 @@ UINT WINAPI MsiGetPropertyW(MSIHANDLE hInstall, LPCWSTR szName,
msiobj_release
(
&
package
->
hdr
);
/* MsiGetProperty does not return error codes on missing properties */
if
(
ret
!=
ERROR_MORE_DATA
)
ret
urn
ERROR_SUCCESS
;
else
return
ret
;
if
(
ret
!=
ERROR_MORE_DATA
)
ret
=
ERROR_SUCCESS
;
return
ret
;
}
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