diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-04-04 17:48:50 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-04-04 17:48:50 +0200 |
commit | 11d36a9f7e16aa9992835f8ce06f0e1e5297b131 (patch) | |
tree | ff15e8fe346df9bcc92e063747c43476054113f7 /plugins/samples/HelloWorld.c | |
parent | b8d4c81cc8175ce49c77d41e572a9f1a2e367cdc (diff) |
work in progress, session handling
Change-Id: I0393346280825e24a34e8db386160d857723b841
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/samples/HelloWorld.c')
-rw-r--r-- | plugins/samples/HelloWorld.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c index 4f0af71f..c60cc70c 100644 --- a/plugins/samples/HelloWorld.c +++ b/plugins/samples/HelloWorld.c @@ -85,7 +85,6 @@ static void pingBug (struct afb_req request) { int a,b,c; - fprintf (stderr, "Use --timeout=10 to trap error\n"); b=4; c=0; a=b/c; @@ -128,7 +127,7 @@ static const struct AFB_plugin plugin_desc = { .apis = pluginApis }; -const struct AFB_plugin *pluginRegister () +const struct AFB_plugin *pluginRegister (const struct AFB_interface *itf) { return &plugin_desc; } |