summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-22 09:25:00 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-22 09:25:00 +0100
commit1b238baa74d36f144581deee5f3a1834d1d445bb (patch)
tree0f20ce211ebfda983ed5ef14d62b0beeadac34be /plugins
parentb11e099d4c4092b9503cd1434299d644118d89d9 (diff)
Fix "no plugins" detection, rename HelloWorld API
afb-daemon now gracefully exits if no plugins are present. HelloWorld's API has been renamed to "hello". Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/samples/HelloWorld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c
index 870225b1..2f6dc4d1 100644
--- a/plugins/samples/HelloWorld.c
+++ b/plugins/samples/HelloWorld.c
@@ -88,7 +88,7 @@ PUBLIC AFB_plugin *pluginRegister () {
AFB_plugin *plugin = malloc (sizeof (AFB_plugin));
plugin->type = AFB_PLUGIN_JSON;
plugin->info = "Application Framework Binder Service";
- plugin->prefix= "dbus";
+ plugin->prefix= "hello";
plugin->apis = pluginApis;
return (plugin);
};