summaryrefslogtreecommitdiff
path: root/announce.c
diff options
context:
space:
mode:
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);
}