]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/dialup.cpp
Some doc updates.
[wxWidgets.git] / src / unix / dialup.cpp
index e0616d2305f7dc1372bfba47c154bcb9dd967391..f6023963be7873d34b553751ec22d28f9ecc1865 100644 (file)
@@ -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())