summaryrefslogtreecommitdiffstats
path: root/src/afb-supervision.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-08-20 15:15:39 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-22 14:03:52 +0200
commit58a21f8f9465a20cba3fdfc3abaee866dafc245f (patch)
tree9923c7372584710bae4584f17980679612ce04c0 /src/afb-supervision.c
parent9893640014f28ef9ad844939405f84b75a7fb57e (diff)
afb-stub-ws: Improve naming
The function afb_stub_ws_on_hangup is now named afb_stub_ws_set_on_hangup. Bug-AGL: SPEC-1668 Change-Id: Ie96c77d4af10ee6b42aea6f57d7c3aadb95e6467 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-supervision.c')
-rw-r--r--src/afb-supervision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-supervision.c b/src/afb-supervision.c
index 8636ef03..e6bc0a51 100644
--- a/src/afb-supervision.c
+++ b/src/afb-supervision.c
@@ -212,7 +212,7 @@ static void try_connect_supervisor()
ERROR("Creation of supervisor failed: %m");
goto end;
}
- afb_stub_ws_on_hangup(supervisor, on_supervisor_hangup);
+ afb_stub_ws_set_on_hangup(supervisor, on_supervisor_hangup);
/* successful termination */
goto end;