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)); }