aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/sql_attribute.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/sql_attribute.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/sql_attribute.c')
-rw-r--r--src/libhydra/plugins/attr_sql/sql_attribute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libhydra/plugins/attr_sql/sql_attribute.c b/src/libhydra/plugins/attr_sql/sql_attribute.c
index 9a2108ed2..c328fd2b3 100644
--- a/src/libhydra/plugins/attr_sql/sql_attribute.c
+++ b/src/libhydra/plugins/attr_sql/sql_attribute.c
@@ -127,8 +127,8 @@ static host_t* check_lease(private_sql_attribute_t *this, char *name,
host = host_create_from_chunk(AF_UNSPEC, address, 0);
if (host)
{
- DBG1("acquired existing lease for address %H in pool '%s'",
- host, name);
+ DBG1(DBG_LIB, "acquired existing lease for address %H in"
+ " pool '%s'", host, name);
return host;
}
}
@@ -202,13 +202,13 @@ static host_t* get_lease(private_sql_attribute_t *this, char *name,
host = host_create_from_chunk(AF_UNSPEC, address, 0);
if (host)
{
- DBG1("acquired new lease for address %H in pool '%s'",
+ DBG1(DBG_LIB, "acquired new lease for address %H in pool '%s'",
host, name);
return host;
}
}
}
- DBG1("no available address found in pool '%s'", name);
+ DBG1(DBG_LIB, "no available address found in pool '%s'", name);
return NULL;
}