From 5fe43b6017b7b3216e544792c893b53e6d15a408 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 31 Oct 2011 14:24:49 +0000 Subject: [PATCH] Compilation fix for AIX: fix the name of wxGetservBuf ctor. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 67ca3fbcdf..79cc6c4cac 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -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)); }