1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

r18616: fix breakage after DLIST_ADD_END() changes for --with-pam

(This used to be commit 5c00b5497b7b2bb345429893d247cbb6bb0f4e20)
This commit is contained in:
Gerald Carter 2006-09-18 18:28:56 +00:00 committed by Gerald (Jerry) Carter
parent 6b07596a0f
commit 4646147a39

View File

@ -208,7 +208,6 @@ static struct chat_struct *make_pw_chat(const char *p)
fstring reply;
struct chat_struct *list = NULL;
struct chat_struct *t;
struct chat_struct *tmp;
while (1) {
t = SMB_MALLOC_P(struct chat_struct);
@ -219,7 +218,7 @@ static struct chat_struct *make_pw_chat(const char *p)
ZERO_STRUCTP(t);
DLIST_ADD_END(list, t, tmp);
DLIST_ADD_END(list, t, struct chat_struct*);
if (!next_token(&p, prompt, NULL, sizeof(fstring)))
break;