*: let libfmt quote strings

This commit is contained in:
Max Kellermann
2024-04-16 11:06:34 +02:00
parent 39c9e92f42
commit 0c1ecc96a8
71 changed files with 160 additions and 160 deletions

View File

@@ -63,7 +63,7 @@ BonjourHelper::Callback([[maybe_unused]] DNSServiceRef sdRef,
helper.Cancel();
} else {
FmtDebug(bonjour_domain,
"Registered zeroconf service with name '{}'",
"Registered zeroconf service with name {:?}",
name);
}
}

View File

@@ -47,7 +47,7 @@ AvahiInit(EventLoop &event_loop, const char *service_name,
const char *service_type, unsigned port)
{
if (!avahi_is_valid_service_name(service_name))
throw FmtRuntimeError("Invalid zeroconf_name \"{}\"",
throw FmtRuntimeError("Invalid zeroconf_name {:?}",
service_name);
auto client = shared_avahi_client.lock();