aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-04-01 07:24:39 +0100
committerSteve Holme <steve_holme@hotmail.com>2016-04-01 07:24:39 +0100
commit9a8aef13654ca648e6028d1a2767882e0745b2f4 (patch)
tree0d44bbd0102148500bbbf74c52c12f9135500dec
parent7c314fd9f8e383c36b700ac231645efe1dfcd1eb (diff)
url: Corrected get protocol family for FTP and LDAP
Fixed copy/paste error from commit a5aec58726.
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 9f073f320..1412644e7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -6144,7 +6144,7 @@ unsigned int get_protocol_family(unsigned int protocol)
case CURLPROTO_FTP:
case CURLPROTO_FTPS:
- family = CURLPROTO_IMAP;
+ family = CURLPROTO_FTP;
break;
case CURLPROTO_SCP:
@@ -6161,7 +6161,7 @@ unsigned int get_protocol_family(unsigned int protocol)
case CURLPROTO_LDAP:
case CURLPROTO_LDAPS:
- family = CURLPROTO_IMAP;
+ family = CURLPROTO_LDAP;
break;
case CURLPROTO_DICT: