diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-02-21 16:07:56 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-02-21 16:07:56 +0100 |
commit | f15ea770dd9b13a20331853a026091316984f9ca (patch) | |
tree | 47e16cfa111281f1efb92091d949ca961661ef1f /src/afb-api-ws.c | |
parent | b182590a555afe093d2d6e5cdf3e1e2410d1a0f5 (diff) |
afb-systemd: Integrate sd-fds features
Change-Id: I59d194ba675912a42922f0905933b1cea796c78a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-ws.c')
-rw-r--r-- | src/afb-api-ws.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c index 26d01932..7fbe5be1 100644 --- a/src/afb-api-ws.c +++ b/src/afb-api-ws.c @@ -36,7 +36,6 @@ #include "afb-systemd.h" #include "afb-stub-ws.h" #include "verbose.h" -#include "sd-fds.h" struct api_ws { @@ -177,7 +176,7 @@ static int api_ws_socket(const char *path, int server) /* check for systemd socket */ if (0 == strncmp(path, "sd:", 3)) - fd = sd_fds_for(path + 3); + fd = systemd_fds_for(path + 3); else { /* check for unix socket */ if (0 == strncmp(path, "unix:", 5)) |