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:
2c0d657
)
url: Added smtp and pop3 hostnames to the protocol detection list
author
Steve Holme
<steve_holme@hotmail.com>
Tue, 23 Apr 2013 18:43:06 +0000
(19:43 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Tue, 23 Apr 2013 18:44:14 +0000
(19:44 +0100)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
b438292
..
cef8a98
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-3771,6
+3771,10
@@
static CURLcode parseurlandfillconn(struct SessionHandle *data,
protop = "LDAP";
else if(checkprefix("IMAP.", conn->host.name))
protop = "IMAP";
+ else if(checkprefix("SMTP.", conn->host.name))
+ protop = "smtp";
+ else if(checkprefix("POP3.", conn->host.name))
+ protop = "pop3";
else {
protop = "http";
}