summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-18 18:28:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:52:00 -0500
commit4646147a399d6fd7a452f5c16dd18afa97697aca (patch)
treee94361019110a156d8da8c8332b4935c4e2c031d
parent6b07596a0f2599a6b39a03af381f12556ca590b6 (diff)
downloadsamba-4646147a399d6fd7a452f5c16dd18afa97697aca.tar.gz
samba-4646147a399d6fd7a452f5c16dd18afa97697aca.tar.bz2
samba-4646147a399d6fd7a452f5c16dd18afa97697aca.zip
r18616: fix breakage after DLIST_ADD_END() changes for --with-pam
(This used to be commit 5c00b5497b7b2bb345429893d247cbb6bb0f4e20)
-rw-r--r--source3/auth/pampass.c3
1 files changed, 1 insertions, 2 deletions
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;