diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-10 14:51:49 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-10 14:51:49 +0200 |
commit | af7dbbcbc9fe89deb4951d45b0f6ce839199c88b (patch) | |
tree | 86bdf50d190c81ff267f4b26432d3cefa58d3387 /announce.c | |
parent | 06edc57d49547c2d5981467550043660c1f5f282 (diff) |
Convert proxy to use task_buf as well
Diffstat (limited to 'announce.c')
-rw-r--r-- | announce.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |