aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-31 17:28:46 +0200
committerTobias Brunner <tobias@strongswan.org>2010-04-06 12:47:40 +0200
commit8b0e09103b5e7e55b20380c44f093b1cef95480c (patch)
tree2b231876b34c525a20ad2b5fc15d8aabb57eba99 /src/libhydra/plugins/attr_sql/attr_sql_plugin.c
parent9ed6341d3f1f48c9528a21b9d2da83bfc05bb756 (diff)
downloadstrongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.bz2
strongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.xz
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
Diffstat (limited to 'src/libhydra/plugins/attr_sql/attr_sql_plugin.c')
-rw-r--r--src/libhydra/plugins/attr_sql/attr_sql_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
index 632bd35a4..280d01d8f 100644
--- a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
+++ b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
@@ -65,7 +65,7 @@ plugin_t *attr_sql_plugin_create()
uri = lib->settings->get_str(lib->settings, "libhydra.plugins.attr-sql.database", NULL);
if (!uri)
{
- DBG1("attr-sql plugin: database URI not set");
+ DBG1(DBG_LIB, "attr-sql plugin: database URI not set");
return NULL;
}
@@ -76,7 +76,7 @@ plugin_t *attr_sql_plugin_create()
this->db = lib->db->create(lib->db, uri);
if (!this->db)
{
- DBG1("attr-sql plugin failed to connect to database");
+ DBG1(DBG_LIB, "attr-sql plugin failed to connect to database");
free(this);
return NULL;
}