Commit ada3d57e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

advapi32: Fix printing NULL strings.

parent 6efd9051
...@@ -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) )
{ {
......
...@@ -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;
......
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