[dovecot-cvs] dovecot/src/auth passdb-bsdauth.c,1.2,1.3

cras at dovecot.org cras at dovecot.org
Mon Sep 20 23:49:24 EEST 2004


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv6631

Modified Files:
	passdb-bsdauth.c 
Log Message:
warning fix



Index: passdb-bsdauth.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-bsdauth.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- passdb-bsdauth.c	31 May 2004 18:57:25 -0000	1.2
+++ passdb-bsdauth.c	20 Sep 2004 20:49:22 -0000	1.3
@@ -41,7 +41,8 @@
 	}
 
 	/* check if the password is valid */
-	result = auth_userokay(request->user, NULL, NULL, password);
+	result = auth_userokay(request->user, NULL, NULL,
+			       t_strdup_noconst(password));
 
 	/* clear the passwords from memory */
 	safe_memset(pw->pw_passwd, 0, strlen(pw->pw_passwd));



More information about the dovecot-cvs mailing list