From 56831ed81ff8a3e6409d559258f02bf522db4586 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sun, 14 Feb 2021 17:01:02 +0300 Subject: [PATCH] LookupServer: Misc tweaks --- Userland/Services/LookupServer/LookupServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Services/LookupServer/LookupServer.cpp b/Userland/Services/LookupServer/LookupServer.cpp index a6367f0a4b..75d9aa124c 100644 --- a/Userland/Services/LookupServer/LookupServer.cpp +++ b/Userland/Services/LookupServer/LookupServer.cpp @@ -194,7 +194,7 @@ Vector 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 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 {}; }