| 184 | } |
| 185 | |
| 186 | void status_send_fatal(const u8 *msg TAKES) |
| 187 | { |
| 188 | int reason = fromwire_peektype(msg); |
| 189 | breakpoint(); |
| 190 | status_send(msg); |
| 191 | |
| 192 | flush_and_exit(reason); |
| 193 | } |
| 194 | |
| 195 | /* FIXME: rename to status_fatal, s/fail/fatal/ in status_failreason enums */ |
| 196 | void status_failed(enum status_failreason reason, const char *fmt, ...) |
no test coverage detected