summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/LookupServer.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-16 12:00:33 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-16 14:52:04 +0100
commitc71807a3fc592ab1d2d59c157e122a1b4030cd46 (patch)
tree3cacfa51d521be5f1fbe17f880391dd7ec42b0fe /Userland/Services/LookupServer/LookupServer.cpp
parentc90b7881a7313a9b36c7069769b5489c3be4f014 (diff)
downloadserenity-c71807a3fc592ab1d2d59c157e122a1b4030cd46.zip
Everywhere: Convert a handful of String::format() => formatted()
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.cpp')
-rw-r--r--Userland/Services/LookupServer/LookupServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.cpp b/Userland/Services/LookupServer/LookupServer.cpp
index 16761ec7e4..657cbc23ec 100644
--- a/Userland/Services/LookupServer/LookupServer.cpp
+++ b/Userland/Services/LookupServer/LookupServer.cpp
@@ -160,7 +160,7 @@ void LookupServer::service_client(RefPtr<Core::LocalSocket> socket)
return;
}
for (auto& response : responses) {
- auto line = String::format("%s\n", response.characters());
+ auto line = String::formatted("{}\n", response);
int nsent = socket->write(line);
if (nsent < 0) {
perror("write");