summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-08-24 11:07:38 +0200
committerBjörn Jacke <bj@sernet.de>2010-08-24 11:18:34 +0200
commitaa830cde6a44187149c207085acdb75fe4e8e343 (patch)
treeaded05b1d50ace52dabf383475a4371821de4392 /source3
parentd55e7e52f16c673ad2190e21b5b4b3873cf2551d (diff)
downloadsamba-aa830cde6a44187149c207085acdb75fe4e8e343.tar.gz
samba-aa830cde6a44187149c207085acdb75fe4e8e343.tar.bz2
samba-aa830cde6a44187149c207085acdb75fe4e8e343.zip
pam: fix unused variable warning
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/pampass.c2
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