svn commit: samba r18616 - in branches/SAMBA_3_0/source/auth: .

jerry at samba.org jerry at samba.org
Mon Sep 18 18:28:56 GMT 2006


Author: jerry
Date: 2006-09-18 18:28:56 +0000 (Mon, 18 Sep 2006)
New Revision: 18616

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18616

Log:
fix breakage after DLIST_ADD_END() changes for --with-pam
Modified:
   branches/SAMBA_3_0/source/auth/pampass.c


Changeset:
Modified: branches/SAMBA_3_0/source/auth/pampass.c
===================================================================
--- branches/SAMBA_3_0/source/auth/pampass.c	2006-09-18 17:33:23 UTC (rev 18615)
+++ branches/SAMBA_3_0/source/auth/pampass.c	2006-09-18 18:28:56 UTC (rev 18616)
@@ -208,7 +208,6 @@
 	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 @@
 
 		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;



More information about the samba-cvs mailing list