| 1422 | } |
| 1423 | |
| 1424 | static void add_announceable(struct wireaddr **announceable, |
| 1425 | const struct wireaddr *addr) |
| 1426 | { |
| 1427 | /*~ utils.h contains a convenience macro tal_arr_expand which |
| 1428 | * reallocates a tal_arr to make it one longer, then returns a pointer |
| 1429 | * to the (new) last element. */ |
| 1430 | tal_arr_expand(announceable, *addr); |
| 1431 | } |
| 1432 | |
| 1433 | /* We need to have a bound address we can tell Tor to connect to */ |
| 1434 | static const struct wireaddr * |