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:
Vadim Zeitlin
2002-06-12 16:08:00 +00:00
parent 63fd5f0b27
commit d5b18b50bd

View File

@@ -188,7 +188,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize)
if ( pHostEnt ) if ( pHostEnt )
{ {
// Windows will use DNS internally now // Windows will use DNS internally now
pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, PF_INET); pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, AF_INET);
} }
if ( pHostEnt ) if ( pHostEnt )