aboutsummaryrefslogtreecommitdiff
path: root/src/util/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/plugin.c')
-rw-r--r--src/util/plugin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/plugin.c b/src/util/plugin.c
index feb661f24..39874a588 100644
--- a/src/util/plugin.c
+++ b/src/util/plugin.c
@@ -447,8 +447,12 @@ GNUNET_PLUGIN_load_all_in_context (const struct GNUNET_OS_ProjectData *ctx,
447 void *cb_cls) 447 void *cb_cls)
448{ 448{
449 const struct GNUNET_OS_ProjectData *cpd = GNUNET_OS_project_data_get (); 449 const struct GNUNET_OS_ProjectData *cpd = GNUNET_OS_project_data_get ();
450
450 GNUNET_OS_init (ctx); 451 GNUNET_OS_init (ctx);
451 GNUNET_PLUGIN_load_all (basename, arg, cb, cb_cls); 452 GNUNET_PLUGIN_load_all (basename,
453 arg,
454 cb,
455 cb_cls);
452 GNUNET_OS_init (cpd); 456 GNUNET_OS_init (cpd);
453} 457}
454 458