From 58f86d0f0fea14383c1836aa37a21edd38ad2e47 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 24 Mar 2010 17:46:29 +0100 Subject: Changed all usages of lib->attributes to hydra->attributes. --- src/libcharon/plugins/resolve/resolve_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcharon/plugins/resolve/resolve_plugin.c') diff --git a/src/libcharon/plugins/resolve/resolve_plugin.c b/src/libcharon/plugins/resolve/resolve_plugin.c index 4bc9a2ba8..502129593 100644 --- a/src/libcharon/plugins/resolve/resolve_plugin.c +++ b/src/libcharon/plugins/resolve/resolve_plugin.c @@ -16,7 +16,7 @@ #include "resolve_plugin.h" #include "resolve_handler.h" -#include +#include typedef struct private_resolve_plugin_t private_resolve_plugin_t; @@ -41,7 +41,7 @@ struct private_resolve_plugin_t { */ static void destroy(private_resolve_plugin_t *this) { - lib->attributes->remove_handler(lib->attributes, &this->handler->handler); + hydra->attributes->remove_handler(hydra->attributes, &this->handler->handler); this->handler->destroy(this->handler); free(this); } @@ -55,7 +55,7 @@ plugin_t *resolve_plugin_create() this->public.plugin.destroy = (void(*)(plugin_t*))destroy; this->handler = resolve_handler_create(); - lib->attributes->add_handler(lib->attributes, &this->handler->handler); + hydra->attributes->add_handler(hydra->attributes, &this->handler->handler); return &this->public.plugin; } -- cgit v1.2.3