]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for AIX: fix the name of wxGetservBuf ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 14:24:49 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 14:24:49 +0000 (14:24 +0000)
The ctor was wrongly called so wxGetservBuf class couldn't be compiled,
breaking compilation under AIX and any other systems with 4 argument
getservbyname_r().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckaddr.cpp

index 67ca3fbcdfa77af4a5a368ad4eb55a98f3d90bac..79cc6c4cac8c02565b6e5a1d3cd1a1ae88658658 100644 (file)
@@ -144,7 +144,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
 #ifdef HAVE_FUNC_GETSERVBYNAME_R_4
     struct wxGetservBuf : servent_data
     {
-        wxGethostBuf()
+        wxGetservBuf()
         {
             memset(this, 0, sizeof(servent_data));
         }