projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694f31c
)
cut out matching host names starting with telnet or ftps, since they hardly
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 18 Oct 2006 11:13:39 +0000
(11:13 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 18 Oct 2006 11:13:39 +0000
(11:13 +0000)
ever actually are used
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
ac0702a
..
1a5ae15
100644
(file)
--- 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))