[dovecot-cvs] dovecot/src/auth passdb-cache.c,1.2,1.3
cras at dovecot.org
cras at dovecot.org
Mon Dec 6 18:46:51 EET 2004
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv8266/src/auth
Modified Files:
passdb-cache.c
Log Message:
Cached passwords didn't return scheme correctly. Patch by Andrey Panin.
Index: passdb-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-cache.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- passdb-cache.c 22 Oct 2004 14:15:32 -0000 1.2
+++ passdb-cache.c 6 Dec 2004 16:46:49 -0000 1.3
@@ -88,7 +88,6 @@
const char **scheme_r)
{
const char *value, *const *list;
- const char *cached_pw;
if (passdb_cache == NULL)
return FALSE;
@@ -108,7 +107,7 @@
list_save(request, NULL, list+1);
*result_r = list[0];
- *scheme_r = password_get_scheme(&cached_pw);
+ *scheme_r = password_get_scheme(result_r);
return TRUE;
}
More information about the dovecot-cvs
mailing list