mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:17:36 +00:00
LookupServer: Misc tweaks
This commit is contained in:
parent
19cfed329e
commit
56831ed81f
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()) {
|
||||
fprintf(stderr, "LookupServer: Tried all nameservers but never got a response :(\n");
|
||||
dbgln("Tried all nameservers but never got a response :(");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -279,7 +279,7 @@ Vector<DNSAnswer> LookupServer::lookup(const DNSName& name, const String& namese
|
|||
}
|
||||
|
||||
if (response.answer_count() < 1) {
|
||||
dbgln("LookupServer: Not enough answers ({}) :(", response.answer_count());
|
||||
dbgln("LookupServer: No answers :(");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue