Network/HostnameInfo: Fix empty canonical name on Windows
Former-commit-id: 5cbe995eaf14305d70d2ccd43b8d3120c4b6ad2e
This commit is contained in:
parent
e8aa649cfc
commit
a128c2aacb
|
|
@ -174,6 +174,7 @@ namespace Nz
|
|||
Detail::addrinfoImpl hints;
|
||||
std::memset(&hints, 0, sizeof(Detail::addrinfoImpl));
|
||||
hints.ai_family = SocketImpl::TranslateNetProtocolToAF(procol);
|
||||
hints.ai_flags = AI_CANONNAME;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
|
||||
Detail::addrinfoImpl* servinfo;
|
||||
|
|
|
|||
Loading…
Reference in New Issue