diff options
Diffstat (limited to 'src/block/block.c')
-rw-r--r-- | src/block/block.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/block/block.c b/src/block/block.c index 5abe64e69..975c0f747 100644 --- a/src/block/block.c +++ b/src/block/block.c | |||
@@ -134,10 +134,11 @@ GNUNET_BLOCK_context_create (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
134 | 134 | ||
135 | ctx = GNUNET_new (struct GNUNET_BLOCK_Context); | 135 | ctx = GNUNET_new (struct GNUNET_BLOCK_Context); |
136 | ctx->cfg = cfg; | 136 | ctx->cfg = cfg; |
137 | GNUNET_PLUGIN_load_all ("libgnunet_plugin_block_", | 137 | GNUNET_PLUGIN_load_all_in_context (GNUNET_OS_project_data_default (), |
138 | (void *) cfg, | 138 | "libgnunet_plugin_block_", |
139 | &add_plugin, | 139 | (void *) cfg, |
140 | ctx); | 140 | &add_plugin, |
141 | ctx); | ||
141 | return ctx; | 142 | return ctx; |
142 | } | 143 | } |
143 | 144 | ||