use AF_INET instead of PF_INET in wxGetFullHostName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -188,7 +188,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize)
|
||||
if ( pHostEnt )
|
||||
{
|
||||
// Windows will use DNS internally now
|
||||
pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, PF_INET);
|
||||
pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, AF_INET);
|
||||
}
|
||||
|
||||
if ( pHostEnt )
|
||||
|
Reference in New Issue
Block a user