From b860471279dfd3ec4dcdba9c02b7886869459ec8 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Thu, 11 Jun 2020 23:25:38 +0200 Subject: Oops....fixup connect_any callback throughout --- utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 41c71e5..adedc37 100644 --- a/utils.h +++ b/utils.h @@ -45,7 +45,7 @@ struct connection { struct list_head *addrs; unsigned next_addr; - void (*callback)(struct cfg *, struct connection *, int res); + void (*callback)(struct cfg *, struct connection *, bool); }; struct uring_task; @@ -59,7 +59,7 @@ void connection_set_remote(struct cfg *cfg, struct connection *conn, void connect_any(struct cfg *cfg, struct uring_task *task, struct list_head *addrs, struct connection *conn, - void (*callback)(struct cfg *, struct connection *, int res)); + void (*callback)(struct cfg *, struct connection *, bool)); uint16_t sockaddr_port(struct sockaddr_in46 *addr); -- cgit v1.2.3