aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql/sql_logger.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-01-22 15:18:58 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:34:32 +0100
commitd223fe807a0a7fe6f358420256d11d407f7c9f07 (patch)
tree4c9edc8328a3d8b062bf423847b9ba2f3f2879c7 /src/libcharon/plugins/sql/sql_logger.c
parent10c4f4e1fd572d731aaf0c456dfa9dcd7894a554 (diff)
downloadstrongswan-d223fe807a0a7fe6f358420256d11d407f7c9f07.tar.bz2
strongswan-d223fe807a0a7fe6f358420256d11d407f7c9f07.tar.xz
libcharon: Use lib->ns instead of charon->name
Diffstat (limited to 'src/libcharon/plugins/sql/sql_logger.c')
-rw-r--r--src/libcharon/plugins/sql/sql_logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/sql/sql_logger.c b/src/libcharon/plugins/sql/sql_logger.c
index 547e7691e..9a7a6e0ff 100644
--- a/src/libcharon/plugins/sql/sql_logger.c
+++ b/src/libcharon/plugins/sql/sql_logger.c
@@ -141,7 +141,7 @@ sql_logger_t *sql_logger_create(database_t *db)
.db = db,
.recursive = thread_value_create(NULL),
.level = lib->settings->get_int(lib->settings,
- "%s.plugins.sql.loglevel", -1, charon->name),
+ "%s.plugins.sql.loglevel", -1, lib->ns),
);
return &this->public;