aboutsummaryrefslogtreecommitdiffstats
path: root/src/afs-supervisor.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/afs-supervisor.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/afs-supervisor.c')
-rw-r--r--src/afs-supervisor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afs-supervisor.c b/src/afs-supervisor.c
index f4ceb510..39f0a568 100644
--- a/src/afs-supervisor.c
+++ b/src/afs-supervisor.c
@@ -225,7 +225,7 @@ static int make_supervised(int fd, struct afb_cred *cred)
s->next = superviseds;
superviseds = s;
pthread_mutex_unlock(&mutex);
- afb_stub_ws_on_hangup(s->stub, on_supervised_hangup);
+ afb_stub_ws_set_on_hangup(s->stub, on_supervised_hangup);
return 0;
}