diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-22 09:25:00 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-12-22 09:25:00 +0100 |
commit | 1b238baa74d36f144581deee5f3a1834d1d445bb (patch) | |
tree | 0f20ce211ebfda983ed5ef14d62b0beeadac34be /plugins | |
parent | b11e099d4c4092b9503cd1434299d644118d89d9 (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.c | 2 |
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); }; |