| 342 | } |
| 343 | |
| 344 | static void join_strings(char **base, const char *connector, char *append) |
| 345 | { |
| 346 | if (streq(*base, "")) { |
| 347 | *base = append; |
| 348 | } else { |
| 349 | tal_append_fmt(base, " %s %s", connector, append); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | static struct command_result *json_add_rune(struct lightningd *ld, |
| 354 | struct json_stream *js, |
no test coverage detected