From 4646147a399d6fd7a452f5c16dd18afa97697aca Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 18 Sep 2006 18:28:56 +0000 Subject: r18616: fix breakage after DLIST_ADD_END() changes for --with-pam (This used to be commit 5c00b5497b7b2bb345429893d247cbb6bb0f4e20) --- source3/auth/pampass.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 6631b277dc..ba11d2e8fc 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -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; -- cgit