diff options
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); } |