g_network_address_parse: deprecate symbolic port names

(which shouldn't ever have been part of the API. Grr.)

Solaris /etc/services doesn't even have "http", which was causing
tests/network-address to fail...
This commit is contained in:
Dan Winship
2011-09-03 19:49:19 -04:00
parent af2a905e54
commit 4a371c2ce5
2 changed files with 6 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ static ParseTest tests[] =
{
{ "www.gnome.org", "www.gnome.org", 1234, -1 },
{ "www.gnome.org:8080", "www.gnome.org", 8080, -1 },
{ "www.gnome.org:http", "www.gnome.org", 80, -1 },
{ "[2001:db8::1]", "2001:db8::1", 1234, -1 },
{ "[2001:db8::1]:888", "2001:db8::1", 888, -1 },
{ "[hostname", NULL, 0, G_IO_ERROR_INVALID_ARGUMENT },