diff options
| author | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 20:01:30 +0100 |
|---|---|---|
| committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 23:20:01 +0100 |
| commit | f8af48faa18b6d9017ea64f4df2d6ee2b1743df3 (patch) | |
| tree | c27c3d3932b850c65854ca4b855fbb68d262207b /pam/pam.c | |
| parent | 88801f9e5a01e580adae4f386c0c755fb2a17b79 (diff) | |
Fix a number of compiler warnings
This includes a number of small fixes for issues that were formerly
masked by the incorrect AC_LANG_PROGRAM check.
Diffstat (limited to 'pam/pam.c')
| -rw-r--r-- | pam/pam.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -270,8 +270,8 @@ static int nslcd2pam_rc(pam_handle_t *pamh, int rc) } /* check whether the specified user is handled by nslcd */ -static int nslcd_request_exists(pam_handle_t *pamh, struct pld_ctx *ctx, - struct pld_cfg *cfg, const char *username) +static int nslcd_request_exists(pam_handle_t *pamh, struct pld_cfg *cfg, + const char *username) { PAM_REQUEST( NSLCD_ACTION_PASSWD_BYNAME, @@ -675,7 +675,7 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags, return remap_pam_rc(PAM_PERM_DENIED, &cfg); } /* see if we are dealing with an LDAP user first */ - rc = nslcd_request_exists(pamh, ctx, &cfg, username); + rc = nslcd_request_exists(pamh, &cfg, username); if (rc != PAM_SUCCESS) return remap_pam_rc(rc, &cfg); /* preliminary check, just see if we can authenticate with the current password */ |
