fix(hostname): fix handling of non-ASCII hostnames on Windows (#3382)
This commit is contained in:
parent
d552073eaf
commit
fb1f5b5a89
8 changed files with 51 additions and 5 deletions
|
|
@ -426,7 +426,7 @@ namespace platf::publish {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
auto instance_name = net::mdns_instance_name(boost::asio::ip::host_name());
|
||||
auto instance_name = net::mdns_instance_name(platf::get_host_name());
|
||||
name.reset(avahi::strdup(instance_name.c_str()));
|
||||
|
||||
client.reset(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue