From: Wilfried Goesgens Date: Fri, 25 May 2012 11:04:50 +0000 (+0200) Subject: LDAP: dnon't read the reply if we're not interested in. tnx bzed. X-Git-Tag: v8.12~80 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=19425c9d96e47042a82935ae65ba53981003223f;hp=36ac32ab488eec4581384c5b1c14377e14a85b25;p=citadel.git LDAP: dnon't read the reply if we're not interested in. tnx bzed. --- 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 */