diff options
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; } |