]> code.citadel.org Git - citadel.git/commitdiff
* Switch from ldap_search_st() to ldap_search_ext_s(). The latter is not deprecated.
authorArt Cancro <ajc@citadel.org>
Wed, 17 Feb 2010 16:53:03 +0000 (16:53 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 17 Feb 2010 16:53:03 +0000 (16:53 +0000)
* Ignore the return value from ldap_search_ext_s() because it appears to be misleading.  Instead, check to see whether the search returned any results (null or not null).  This also fixes a potential memory leak resulting from ldap_search_ext_s() returning an error code but still populating the search results.


No differences found