diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-10-13 13:46:27 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-10-13 13:46:27 +0200 |
commit | 930443afffae63f1978df94fb854f10974f42fcf (patch) | |
tree | e14756f98cf944eab82c4e9bfcd9f4001b7a17e0 /src/charon/plugins/resolve/resolve_plugin.c | |
parent | a2b50c5d60fc9d828d1b36243acee391d9b01826 (diff) | |
download | strongswan-930443afffae63f1978df94fb854f10974f42fcf.tar.bz2 strongswan-930443afffae63f1978df94fb854f10974f42fcf.tar.xz |
moved attribute_manager to libstrongswan
Diffstat (limited to 'src/charon/plugins/resolve/resolve_plugin.c')
-rw-r--r-- | src/charon/plugins/resolve/resolve_plugin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/charon/plugins/resolve/resolve_plugin.c b/src/charon/plugins/resolve/resolve_plugin.c index 63cd9af6d..c564981ef 100644 --- a/src/charon/plugins/resolve/resolve_plugin.c +++ b/src/charon/plugins/resolve/resolve_plugin.c @@ -41,8 +41,7 @@ struct private_resolve_plugin_t { */ static void destroy(private_resolve_plugin_t *this) { - charon->attributes->remove_handler(charon->attributes, - &this->handler->handler); + lib->attributes->remove_handler(lib->attributes, &this->handler->handler); this->handler->destroy(this->handler); free(this); } @@ -56,7 +55,7 @@ plugin_t *plugin_create() this->public.plugin.destroy = (void(*)(plugin_t*))destroy; this->handler = resolve_handler_create(); - charon->attributes->add_handler(charon->attributes, &this->handler->handler); + lib->attributes->add_handler(lib->attributes, &this->handler->handler); return &this->public.plugin; } |