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/libhydra/plugins/attr_sql/attr_sql_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libhydra/plugins/attr_sql/attr_sql_plugin.c') diff --git a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c index 981af986d..632bd35a4 100644 --- a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c +++ b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c @@ -13,7 +13,7 @@ * for more details. */ -#include +#include #include #include "attr_sql_plugin.h" @@ -48,7 +48,7 @@ struct private_attr_sql_plugin_t { */ static void destroy(private_attr_sql_plugin_t *this) { - lib->attributes->remove_provider(lib->attributes, &this->attribute->provider); + hydra->attributes->remove_provider(hydra->attributes, &this->attribute->provider); this->attribute->destroy(this->attribute); this->db->destroy(this->db); free(this); @@ -81,7 +81,7 @@ plugin_t *attr_sql_plugin_create() return NULL; } this->attribute = sql_attribute_create(this->db); - lib->attributes->add_provider(lib->attributes, &this->attribute->provider); + hydra->attributes->add_provider(hydra->attributes, &this->attribute->provider); return &this->public.plugin; } -- cgit v1.2.3