Removed IpAddress::IsValid(), added IpAddress::None

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-03-13 09:50:24 +00:00
parent 81fd4c5d1d
commit 691eea4c69
6 changed files with 10 additions and 37 deletions

View file

@ -32,7 +32,7 @@ int main()
std::cout << "Enter the FTP server address : ";
std::cin >> address;
}
while (!address.IsValid());
while (address == sf::IpAddress::None);
// Connect to the server
sf::Ftp server;