X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d3a036dc4e9dacbc6c0efc424138abccc4bf833..08f6ac314ae712e2bc8fa59cf688e6bcff76181f:/src/unix/dialup.cpp?ds=inline diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index e0616d2305..f6023963be 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -383,6 +383,13 @@ wxDialUpManagerImpl::DisableAutoCheckOnlineStatus() void wxDialUpManagerImpl::SetWellKnownHost(const wxString& hostname, int portno) { + if(hostname.Length() == 0) + { + m_BeaconHost = WXDIALUP_MANAGER_DEFAULT_BEACONHOST; + m_BeaconPort = 80; + return; + } + /// does hostname contain a port number? wxString port = hostname.After(wxT(':')); if(port.Length())