| 320 | } |
| 321 | |
| 322 | static void dns_total_timeout(struct dns_lookup *lookup) |
| 323 | { |
| 324 | lookup->total_timer = NULL; |
| 325 | lookup->err = tal_fmt(lookup, "dns lookup timed out"); |
| 326 | dns_finish(lookup); /* Kills the child, if it had one. */ |
| 327 | } |
| 328 | |
| 329 | /* If ctx goes away, we vanish too: main job is leaving the queue if we |
| 330 | * were still sitting in it. */ |
nothing calls this directly
no test coverage detected