From 9a8aef13654ca648e6028d1a2767882e0745b2f4 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 1 Apr 2016 07:24:39 +0100 Subject: url: Corrected get protocol family for FTP and LDAP Fixed copy/paste error from commit a5aec58726. --- lib/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/url.c') 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: -- cgit v1.2.3