aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-04-24 14:10:06 +0200
committerTobias Brunner <tobias@strongswan.org>2012-05-03 13:57:04 +0200
commit42500c274a0858ee27fc5d54b02b90809f2ecd87 (patch)
treeb9e95d636311a08fc4639e73a4d12ab7273afc91 /src/libcharon/plugins/duplicheck/duplicheck_plugin.c
parent18758e3d2ea173b798a827917e4f8a1f9c4bc9a2 (diff)
downloadstrongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.bz2
strongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.xz
Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
Diffstat (limited to 'src/libcharon/plugins/duplicheck/duplicheck_plugin.c')
-rw-r--r--src/libcharon/plugins/duplicheck/duplicheck_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
index df28e7f12..100ef0c2d 100644
--- a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
+++ b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
@@ -66,7 +66,7 @@ plugin_t *duplicheck_plugin_create()
private_duplicheck_plugin_t *this;
if (!lib->settings->get_bool(lib->settings,
- "charon.plugins.duplicheck.enable", TRUE))
+ "%s.plugins.duplicheck.enable", TRUE, charon->name))
{
return NULL;
}