diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-16 12:00:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-16 14:52:04 +0100 |
commit | c71807a3fc592ab1d2d59c157e122a1b4030cd46 (patch) | |
tree | 3cacfa51d521be5f1fbe17f880391dd7ec42b0fe /Userland/Services/LookupServer/LookupServer.cpp | |
parent | c90b7881a7313a9b36c7069769b5489c3be4f014 (diff) | |
download | serenity-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.cpp | 2 |
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"); |