summaryrefslogtreecommitdiff
path: root/nslcd/myldap.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-06-06 21:10:46 +0000
committerArthur de Jong <arthur@arthurdejong.org>2009-06-06 21:10:46 +0000
commit67bb9bb9ed2659faa50b2aac22c147b10bef85ba (patch)
tree2ff98c5bde76aaa0160de57f5686576dd214c84a /nslcd/myldap.c
parent3730b228be5961b975311713aa3fe84ea92cc6ae (diff)
merge r934 from trunk
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@935 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.c')
-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 */