Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-06-04 21:46:14 +0200
committerArthur de Jong <arthur@arthurdejong.org>2009-06-04 21:46:14 +0200
commit92c16df7984b70a94e23e2353d6901bdf6d9bd62 (patch)
tree3dd6a21f81e02590df6aaa464fa2692725ee2134 /nslcd
parent9b502805a9be172bcae9cda00e2b8476a693528d (diff)
also compile correctly if HAVE_LDAP_SASL_INTERACTIVE_BIND_S is not set
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@929 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/myldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index 74dc822..5e35718 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -372,8 +372,8 @@ static int do_sasl_interact(LDAP UNUSED(*ld),unsigned UNUSED(flags),void *defaul
This returns an LDAP result code. */
static int do_bind(MYLDAP_SESSION *session,const char *uri)
{
-#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
int rc;
+#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
#ifndef HAVE_SASL_INTERACT_T
struct berval cred;
#endif /* not HAVE_SASL_INTERACT_T */