Skip to content

Commit

Permalink
auth: Minor code cleanup - fix parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Feb 5, 2016
1 parent 6a6a995 commit 5bb7c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth/passdb-cache.c
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/auth/passdb-cache.h
Expand Up @@ -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,
Expand Down

0 comments on commit 5bb7c98

Please sign in to comment.