Rob Shearman : credui: The list should be the first parameter to the list_add_tail function.
Alexandre Julliard
julliard at winehq.org
Wed Jan 23 14:36:48 CST 2008
Module: wine
Branch: master
Commit: 9a032584f79e3f9daddd4029c08a64d856aba240
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a032584f79e3f9daddd4029c08a64d856aba240
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Jan 23 16:33:08 2008 +0000
credui: The list should be the first parameter to the list_add_tail function.
---
dlls/credui/credui_main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 43ab2d6..342e701 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -631,11 +631,10 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
if (!found)
{
entry = HeapAlloc(GetProcessHeap(), 0, sizeof(*entry));
- list_init(&entry->entry);
len = strlenW(pszTargetName);
entry->pszTargetName = HeapAlloc(GetProcessHeap(), 0, (len + 1)*sizeof(WCHAR));
memcpy(entry->pszTargetName, pszTargetName, (len + 1)*sizeof(WCHAR));
- list_add_tail(&entry->entry, &pending_credentials_list);
+ list_add_tail(&pending_credentials_list, &entry->entry);
}
len = strlenW(params.pszUsername);
More information about the wine-cvs
mailing list