diff options
author | Björn Jacke <bj@sernet.de> | 2010-08-24 11:07:38 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-08-24 11:18:34 +0200 |
commit | aa830cde6a44187149c207085acdb75fe4e8e343 (patch) | |
tree | aded05b1d50ace52dabf383475a4371821de4392 | |
parent | d55e7e52f16c673ad2190e21b5b4b3873cf2551d (diff) | |
download | samba-aa830cde6a44187149c207085acdb75fe4e8e343.tar.gz samba-aa830cde6a44187149c207085acdb75fe4e8e343.tar.bz2 samba-aa830cde6a44187149c207085acdb75fe4e8e343.zip |
pam: fix unused variable warning
-rw-r--r-- | source3/auth/pampass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 83a3f81db0..b1c3bb678b 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -479,7 +479,7 @@ static bool smb_pam_end(pam_handle_t *pamh, struct pam_conv *smb_pam_conv_ptr) static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rhost, struct pam_conv *pconv) { int pam_error; -#ifdef PAM_RHOST +#if HAVE_PAM_RHOST const char *our_rhost; char addr[INET6_ADDRSTRLEN]; #endif |