Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2645:6285910d68a5 HEAD
warning fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 20 Sep 2004 23:49:22 +0300 |
parents | 6ffc83f8b91e |
children | 64e22d5c2829 |
files | src/auth/passdb-bsdauth.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/passdb-bsdauth.c Mon Sep 20 23:48:31 2004 +0300 +++ b/src/auth/passdb-bsdauth.c Mon Sep 20 23:49:22 2004 +0300 @@ -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));