LDAP: dnon't read the reply if we're not interested in. tnx bzed.
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 25 May 2012 11:04:50 +0000 (13:04 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 25 May 2012 11:04:50 +0000 (13:04 +0200)
citadel/ldap.c

index cc88a7b4e202fdbfdfd5412ab1efc39ac1853e5f..9d280186487556576427f29861f72846533a586b 100644 (file)
@@ -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                       */