aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-18 11:13:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-18 11:13:39 +0000
commit5b8d5fdf2f7af5a7a055788a4782d4cae2078572 (patch)
treee0d940e08c6f75add24058d14ed8222fc193210c
parent694f31ca37915464fa3cae16086f1db1334df43c (diff)
cut out matching host names starting with telnet or ftps, since they hardly
ever actually are used
-rw-r--r--lib/url.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/url.c b/lib/url.c
index ac0702ab7..1a5ae15e7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2511,12 +2511,6 @@ static CURLcode ParseURLAndFillConnection(struct SessionHandle *data,
if(checkprefix("FTP.", conn->host.name))
strcpy(conn->protostr, "ftp");
-#ifdef USE_SSL
- else if(checkprefix("FTPS", conn->host.name))
- strcpy(conn->protostr, "ftps");
-#endif /* USE_SSL */
- else if(checkprefix("TELNET.", conn->host.name))
- strcpy(conn->protostr, "telnet");
else if (checkprefix("DICT.", conn->host.name))
strcpy(conn->protostr, "DICT");
else if (checkprefix("LDAP.", conn->host.name))