diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-11 23:25:38 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-11 23:25:38 +0200 |
commit | b860471279dfd3ec4dcdba9c02b7886869459ec8 (patch) | |
tree | 5c7d9311d7018922a634abaa23ae35f56de8dbb5 /utils.h | |
parent | ea836c09048453babda517e6a440d7266304ca02 (diff) |
Oops....fixup connect_any callback throughout
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |