diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-02-06 08:04:46 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-02-06 08:04:46 +0000 |
commit | 10a30e33d830583d56fe94e3b21a97554400b740 (patch) | |
tree | 2be1234199f82faa06154c480e348524786c1a14 /usr.sbin/ospfd/neighbor.c | |
parent | 00e9ce494559367edd5aa8939cad5c6219b393d8 (diff) |
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!)
Diffstat (limited to 'usr.sbin/ospfd/neighbor.c')
0 files changed, 0 insertions, 0 deletions