strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9099e4f
)
Reset registration function for each plugin during feature loading
author
Martin Willi
<martin@revosec.ch>
Thu, 13 Oct 2011 14:09:38 +0000
(16:09 +0200)
committer
Martin Willi
<martin@revosec.ch>
Fri, 14 Oct 2011 08:05:49 +0000
(10:05 +0200)
src/libstrongswan/plugins/plugin_loader.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/plugins/plugin_loader.c
b/src/libstrongswan/plugins/plugin_loader.c
index
994e4df
..
b97a5f3
100644
(file)
--- a/
src/libstrongswan/plugins/plugin_loader.c
+++ b/
src/libstrongswan/plugins/plugin_loader.c
@@
-331,7
+331,7
@@
static bool dependency_required(private_plugin_loader_t *this,
static int load_features(private_plugin_loader_t *this, bool soft, bool report)
{
enumerator_t *enumerator;
- plugin_feature_t *feature, *reg
= NULL
;
+ plugin_feature_t *feature, *reg;
plugin_entry_t *entry;
int count, i, loaded = 0;
@@
-342,6
+342,7
@@
static int load_features(private_plugin_loader_t *this, bool soft, bool report)
{ /* feature interface not supported */
continue;
}
+ reg = NULL;
count = entry->plugin->get_features(entry->plugin, &feature);
for (i = 0; i < count; i++)
{