diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-23 19:43:06 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-23 19:44:14 +0100 |
commit | 2af9fd49608700d07384431f350823a6c76e8185 (patch) | |
tree | e24280341ca76a824ba2f631f0d0ff4c13eb9207 /lib | |
parent | 2c0d65785f4fff922d9fd44b0ec990e044ad692e (diff) |
url: Added smtp and pop3 hostnames to the protocol detection list
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"; } |