Added distribution script
Corrected wxGTK.spec Applied socket patch Small updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -195,7 +195,11 @@ wxString wxIPV4address::Hostname()
|
||||
|
||||
h_ent = gethostbyaddr((char *)&(m_addr->sin_addr), sizeof(m_addr->sin_addr),
|
||||
GetFamily());
|
||||
return wxString(h_ent->h_name);
|
||||
|
||||
if (!h_ent)
|
||||
return wxString("");
|
||||
else
|
||||
return wxString(h_ent->h_name);
|
||||
}
|
||||
|
||||
unsigned short wxIPV4address::Service()
|
||||
|
Reference in New Issue
Block a user