summaryrefslogtreecommitdiff
path: root/src/rest/gnunet-rest-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r--src/rest/gnunet-rest-server.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index e6e03b16d..ecb3e2ae5 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -1229,10 +1229,11 @@ run (void *cls,
return;
}
/* Load plugins */
- GNUNET_PLUGIN_load_all ("libgnunet_plugin_rest",
- (void *) cfg,
- &load_plugin,
- NULL);
+ GNUNET_PLUGIN_load_all_in_context (GNUNET_OS_project_data_default (),
+ "libgnunet_plugin_rest",
+ (void *) cfg,
+ &load_plugin,
+ NULL);
GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL);
}