mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
cleanup: nits
This commit is contained in:
committed by
Rusty Russell
parent
f31c5b7662
commit
0550ffa9db
@@ -214,7 +214,8 @@ static bool broken_resolver(struct daemon *daemon)
|
|||||||
const char *hostname = "nxdomain-test.doesntexist";
|
const char *hostname = "nxdomain-test.doesntexist";
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
/* If they told us to never do DNS queries, don't even do this one and also not if we just say that we don't */
|
/* If they told us to never do DNS queries, don't even do this one and
|
||||||
|
* also not if we just say that we don't */
|
||||||
if (!daemon->use_dns || daemon->use_proxy_always) {
|
if (!daemon->use_dns || daemon->use_proxy_always) {
|
||||||
daemon->broken_resolver_response = NULL;
|
daemon->broken_resolver_response = NULL;
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user