CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2010/02/06 01:04:45

Modified files:
        usr.sbin/ypldap: aldap.h aldap.c 

Log message:
Simplify LDAP URL handling (currently unused):
instead of strdup()'ing multiple values from an already strdup'ed
buffer (none of which were checked for NULL upon return, which is
also fixed in this), just use a buffer attached to the aldap_url
struct.

Add an aldap_search_url() function, which is a wrapper around
aldap_parse_url and aldap_search.

Finally, since the URL bits are unused, wrap them in #if 0 for now.

ok pyr@, whose heart was a little broken by the #if 0 (temporary, I swear!)

Reply via email to