Looks up ptr in hash tree, to try to find name */
| 2216 | |
| 2217 | /* Looks up ptr in hash tree, to try to find name */ |
| 2218 | static const char *try_tal_name(const tal_t *ctx, const void *p) |
| 2219 | { |
| 2220 | const tal_t *t = find_tal_ptr(NULL, p); |
| 2221 | if (t) |
| 2222 | return tal_name(t); |
| 2223 | return tal_fmt(ctx, "%p", p); |
| 2224 | } |
| 2225 | |
| 2226 | static char *fd_mode_str(int fd) |
| 2227 | { |
no test coverage detected