summaryrefslogtreecommitdiff
path: root/announce.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-10 14:51:49 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-10 14:51:49 +0200
commitaf7dbbcbc9fe89deb4951d45b0f6ce839199c88b (patch)
tree86bdf50d190c81ff267f4b26432d3cefa58d3387 /announce.c
parent06edc57d49547c2d5981467550043660c1f5f282 (diff)
Convert proxy to use task_buf as well
Diffstat (limited to 'announce.c')
-rw-r--r--announce.c4
1 files changed, 2 insertions, 2 deletions
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);
}