Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / block / block.c
index d6e61acf6cd20e4ba482da24449dfe1d6bbd006e..4b6f3826d9251419658273d4db6f7d3d62c361e5 100644 (file)
@@ -136,7 +136,7 @@ GNUNET_BLOCK_context_create (const struct GNUNET_CONFIGURATION_Handle *cfg)
   ctx = GNUNET_new (struct GNUNET_BLOCK_Context);
   ctx->cfg = cfg;
   GNUNET_PLUGIN_load_all ("libgnunet_plugin_block_",
-                          NULL,
+                          (void *) cfg,
                           &add_plugin,
                           ctx);
   return ctx;