mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 15:02:24 +00:00
LookupServer: Misc tweaks
This commit is contained in:
parent
19cfed329e
commit
56831ed81f
Notes:
sideshowbarker
2024-07-18 22:16:37 +09:00
Author: https://github.com/bugaevc
Commit: 56831ed81f
Pull-request: https://github.com/SerenityOS/serenity/pull/5345
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, unsigned short recor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (answers.is_empty()) {
|
if (answers.is_empty()) {
|
||||||
fprintf(stderr, "LookupServer: Tried all nameservers but never got a response :(\n");
|
dbgln("Tried all nameservers but never got a response :(");
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, const String& namese
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.answer_count() < 1) {
|
if (response.answer_count() < 1) {
|
||||||
dbgln("LookupServer: Not enough answers ({}) :(", response.answer_count());
|
dbgln("LookupServer: No answers :(");
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue