mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
Everywhere: Convert a handful of String::format() => formatted()
This commit is contained in:
parent
c90b7881a7
commit
c71807a3fc
23 changed files with 24 additions and 24 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue