| 210 | } |
| 211 | |
| 212 | void master_badmsg(u32 type_expected, const u8 *msg) |
| 213 | { |
| 214 | if (!msg) |
| 215 | status_failed(STATUS_FAIL_MASTER_IO, |
| 216 | "failed reading msg %u: %s", |
| 217 | type_expected, strerror(errno)); |
| 218 | status_failed(STATUS_FAIL_MASTER_IO, |
| 219 | "Error parsing %u: %s", |
| 220 | type_expected, tal_hex(tmpctx, msg)); |
| 221 | } |
| 222 | |
| 223 | /* Print BROKEN status: callback for dump_memleak. */ |
| 224 | void memleak_status_broken(void *unused, const char *fmt, ...) |
no test coverage detected