Rob Shearman : credui: The pszUserName parameter in CredUIPromptForCredentialsW is in/ out so dump the string on entry to the function.

Alexandre Julliard julliard at winehq.org
Mon Sep 17 07:59:50 CDT 2007


Module: wine
Branch: master
Commit: ff014a8f6a58760486fe7687295c0e955acadc83
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ff014a8f6a58760486fe7687295c0e955acadc83

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sun Sep 16 22:24:43 2007 +0100

credui: The pszUserName parameter in CredUIPromptForCredentialsW is in/out so dump the string on entry to the function.

---

 dlls/credui/credui_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 1d646f3..fc7bfe0 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -146,8 +146,8 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
     INT_PTR ret;
     struct cred_dialog_params params;
 
-    TRACE("(%p, %s, %p, %d, %p, %d, %p, %d, %p, 0x%08x)\n", pUIInfo,
-          debugstr_w(pszTargetName), Reserved, dwAuthError, pszUsername,
+    TRACE("(%p, %s, %p, %d, %s, %d, %p, %d, %p, 0x%08x)\n", pUIInfo,
+          debugstr_w(pszTargetName), Reserved, dwAuthError, debugstr_w(pszUsername),
           ulUsernameMaxChars, pszPassword, ulPasswordMaxChars, pfSave, dwFlags);
 
     params.pszTargetName = pszTargetName;




More information about the wine-cvs mailing list