summaryrefslogtreecommitdiff
path: root/announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'announce.c')
-rw-r--r--announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/announce.c b/announce.c
index 9af2236..22dd080 100644
--- a/announce.c
+++ b/announce.c
@@ -176,7 +176,7 @@ announce_init(struct cfg *cfg)
if (sfd < 0)
perrordie("socket");
- uring_task_init(&aev->task, "aev", &cfg->task, announce_free);
+ uring_task_init(&aev->task, "aev", uring_parent(cfg), announce_free);
uring_task_set_fd(&aev->task, afd);
uring_task_init(&aev->mcast_task, "aev_mcast", &aev->task, mcast_free);