From 19425c9d96e47042a82935ae65ba53981003223f Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 25 May 2012 13:04:50 +0200 Subject: [PATCH] LDAP: dnon't read the reply if we're not interested in. tnx bzed. --- citadel/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/citadel/ldap.c b/citadel/ldap.c index cc88a7b4e..9d2801864 100644 --- a/citadel/ldap.c +++ b/citadel/ldap.c @@ -124,7 +124,8 @@ int CtdlTryUserLDAP(char *username, } syslog(LOG_DEBUG, "LDAP search: %s\n", searchstring); - i = ldap_search_ext_s(ldserver, /* ld */ + (void) ldap_search_ext_s( + ldserver, /* ld */ config.c_ldap_base_dn, /* base */ LDAP_SCOPE_SUBTREE, /* scope */ searchstring, /* filter */ -- 2.30.2