Add the n'th arg to *args, incrementing n and keeping args of size n+1 */
| 97 | |
| 98 | /* Add the n'th arg to *args, incrementing n and keeping args of size n+1 */ |
| 99 | static void add_arg(const char ***args, const char *arg TAKES) |
| 100 | { |
| 101 | if (taken(arg)) |
| 102 | tal_steal(*args, arg); |
| 103 | tal_arr_expand(args, arg); |
| 104 | } |
| 105 | |
| 106 | static const char **gather_argsv(const tal_t *ctx, const char *cmd, va_list ap) |
| 107 | { |