Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ada3d57e
Commit
ada3d57e
authored
Sep 19, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix printing NULL strings.
parent
6efd9051
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
crypt.c
dlls/advapi32/crypt.c
+2
-2
registry.c
dlls/advapi32/registry.c
+2
-2
No files found.
dlls/advapi32/crypt.c
View file @
ada3d57e
...
@@ -545,8 +545,8 @@ BOOL WINAPI CryptAcquireContextA (HCRYPTPROV *phProv, LPCSTR pszContainer,
...
@@ -545,8 +545,8 @@ BOOL WINAPI CryptAcquireContextA (HCRYPTPROV *phProv, LPCSTR pszContainer,
PWSTR
pProvider
=
NULL
,
pContainer
=
NULL
;
PWSTR
pProvider
=
NULL
,
pContainer
=
NULL
;
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%p, %s, %s, %d, %08x)
\n
"
,
phProv
,
pszContainer
,
TRACE
(
"(%p, %s, %s, %d, %08x)
\n
"
,
phProv
,
debugstr_a
(
pszContainer
)
,
pszProvider
,
dwProvType
,
dwFlags
);
debugstr_a
(
pszProvider
)
,
dwProvType
,
dwFlags
);
if
(
!
CRYPT_ANSIToUnicode
(
pszContainer
,
&
pContainer
,
-
1
)
)
if
(
!
CRYPT_ANSIToUnicode
(
pszContainer
,
&
pContainer
,
-
1
)
)
{
{
...
...
dlls/advapi32/registry.c
View file @
ada3d57e
...
@@ -1739,8 +1739,8 @@ LSTATUS WINAPI RegGetValueA( HKEY hKey, LPCSTR pszSubKey, LPCSTR pszValue,
...
@@ -1739,8 +1739,8 @@ LSTATUS WINAPI RegGetValueA( HKEY hKey, LPCSTR pszSubKey, LPCSTR pszValue,
LONG
ret
;
LONG
ret
;
TRACE
(
"(%p,%s,%s,%d,%p,%p,%p=%d)
\n
"
,
TRACE
(
"(%p,%s,%s,%d,%p,%p,%p=%d)
\n
"
,
hKey
,
pszSubKey
,
pszValue
,
dwFlags
,
pdwType
,
pvData
,
pcbData
,
hKey
,
debugstr_a
(
pszSubKey
),
debugstr_a
(
pszValue
),
dwFlags
,
cbData
);
pdwType
,
pvData
,
pcbData
,
cbData
);
if
(
pvData
&&
!
pcbData
)
if
(
pvData
&&
!
pcbData
)
return
ERROR_INVALID_PARAMETER
;
return
ERROR_INVALID_PARAMETER
;
...
...
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