From af7dbbcbc9fe89deb4951d45b0f6ce839199c88b Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 10 Jun 2020 14:51:49 +0200 Subject: Convert proxy to use task_buf as well --- announce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'announce.c') diff --git a/announce.c b/announce.c index f5233c4..a17bd9a 100644 --- a/announce.c +++ b/announce.c @@ -87,7 +87,7 @@ announce_cb(struct cfg *cfg, struct uring_task *task, int res) fprintf(stderr, "%s: called with value %" PRIu64 "\n", __func__, aev->value); mcast_send_all(cfg, aev); - uring_read(cfg, &aev->task, &aev->value, sizeof(aev->value), 0, announce_cb); + uring_read(cfg, &aev->task, &aev->value, sizeof(aev->value), announce_cb); } static void @@ -188,6 +188,6 @@ announce_init(struct cfg *cfg) aev->mcast_addr.sin_port = htons(4445); cfg->aev = aev; - uring_read(cfg, &aev->task, &aev->value, sizeof(aev->value), 0, announce_cb); + uring_read(cfg, &aev->task, &aev->value, sizeof(aev->value), announce_cb); } -- cgit v1.2.3