Skip to content

Commit 91d6d3a

Browse files
committed
Adapt to new eloop
1 parent 7c25029 commit 91d6d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/service.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ svc_init(struct ctx *ctx, const char *name,
265265
default:
266266
sctx->svc_fd = fdset[0];
267267
close(fdset[1]);
268-
sctx->svc_eloop = eloop_new_with_signals(ctx->ctx_eloop);
268+
sctx->svc_eloop = eloop_new();
269269
if (sctx->svc_eloop == NULL) {
270-
logerr("%s: eloop_new_with_signals", __func__);
270+
logerr("%s: eloop_new", __func__);
271271
goto error;
272272
}
273273
if (eloop_event_add(sctx->svc_eloop, sctx->svc_fd, ELE_READ,

0 commit comments

Comments
 (0)