Displaying 1 result from an estimated 1 matches for "cached_pw".
2004 Dec 06
0
[PATCH] passdb cache fixes
...est55.vanilla/src/auth/passdb-cache.c 2004-12-04 18:05:55.000000000 +0300
+++ dovecot-1.0-test55/src/auth/passdb-cache.c 2004-12-05 18:52:57.000000000 +0300
@@ -88,7 +88,6 @@ int passdb_cache_lookup_credentials(stru
const char **scheme_r)
{
const char *value, *const *list;
- const char *cached_pw;
if (passdb_cache == NULL)
return FALSE;
@@ -108,7 +107,7 @@ int passdb_cache_lookup_credentials(stru
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;
}
------...