diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-11-27 13:41:55 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-11-27 13:41:55 +0000 |
| commit | b43155852682c9e38509571f4a29699cdc35c950 (patch) | |
| tree | ea012d4c6db047d14cc2414cb3df29c2d65a48da /lib/libfetch/common.c | |
| parent | 247fc4628ead5f1e5b2b27b651a7df5047080cca (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.c')
| -rw-r--r-- | lib/libfetch/common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 4d05a6b6dcd9..459154f3af1d 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -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) |
