diff options
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r-- | src/rest/gnunet-rest-server.c | 9 |
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, | |||
1229 | return; | 1229 | return; |
1230 | } | 1230 | } |
1231 | /* Load plugins */ | 1231 | /* Load plugins */ |
1232 | GNUNET_PLUGIN_load_all ("libgnunet_plugin_rest", | 1232 | GNUNET_PLUGIN_load_all_in_context (GNUNET_OS_project_data_default (), |
1233 | (void *) cfg, | 1233 | "libgnunet_plugin_rest", |
1234 | &load_plugin, | 1234 | (void *) cfg, |
1235 | NULL); | 1235 | &load_plugin, |
1236 | NULL); | ||
1236 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); | 1237 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); |
1237 | } | 1238 | } |
1238 | 1239 | ||