Don't try to get the proxy port number from /etc/services.

This commit is contained in:
Dag-Erling Smørgrav 2000-11-27 13:41:55 +00:00
parent 247fc4628e
commit b431558526

View File

@ -190,10 +190,6 @@ _fetch_default_port(char *scheme)
int
_fetch_default_proxy_port(char *scheme)
{
struct servent *se;
if ((se = getservbyname(scheme, "tcp")) != NULL)
return ntohs(se->s_port);
if (strcasecmp(scheme, SCHEME_FTP) == 0)
return FTP_DEFAULT_PROXY_PORT;
if (strcasecmp(scheme, SCHEME_HTTP) == 0)