]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Minor code cleanup - fix parameter type
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 5 Feb 2016 13:54:35 +0000 (15:54 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 5 Feb 2016 13:54:35 +0000 (15:54 +0200)
src/auth/passdb-cache.c
src/auth/passdb-cache.h

index 213ff6504e3be9fc8df91a43b3184199f85bae77..0799ac2b71184533652c0b57a1ca20f2bc4dd487 100644 (file)
@@ -25,7 +25,7 @@ passdb_cache_log_hit(struct auth_request *request, const char *value)
 
 bool passdb_cache_verify_plain(struct auth_request *request, const char *key,
                               const char *password,
-                              enum passdb_result *result_r, int use_expired)
+                              enum passdb_result *result_r, bool use_expired)
 {
        const char *value, *cached_pw, *scheme, *const *list;
        struct auth_cache_node *node;
index 718d89b84a303cce61e3a754ef137daa6845013e..1b9ff0847235f236e8211c5a49a52babd5b61548 100644 (file)
@@ -8,7 +8,7 @@ extern struct auth_cache *passdb_cache;
 
 bool passdb_cache_verify_plain(struct auth_request *request, const char *key,
                               const char *password,
-                              enum passdb_result *result_r, int use_expired);
+                              enum passdb_result *result_r, bool use_expired);
 bool passdb_cache_lookup_credentials(struct auth_request *request,
                                     const char *key, const char **password_r,
                                     const char **scheme_r,