Looks up ptr in hash tree, to try to find name */
| 2168 | |
| 2169 | /* Looks up ptr in hash tree, to try to find name */ |
| 2170 | static const char *try_tal_name(const tal_t *ctx, const void *p) |
| 2171 | { |
| 2172 | const tal_t *t = find_tal_ptr(NULL, p); |
| 2173 | if (t) |
| 2174 | return tal_name(t); |
| 2175 | return tal_fmt(ctx, "%p", p); |
| 2176 | } |
| 2177 | |
| 2178 | static char *fd_mode_str(int fd) |
| 2179 | { |
no test coverage detected