From: Steve Holme Date: Fri, 1 Apr 2016 06:24:39 +0000 (+0100) Subject: url: Corrected get protocol family for FTP and LDAP X-Git-Tag: curl-7_49_0~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a8aef13654ca648e6028d1a2767882e0745b2f4;p=thirdparty%2Fcurl.git url: Corrected get protocol family for FTP and LDAP Fixed copy/paste error from commit a5aec58726. --- diff --git a/lib/url.c b/lib/url.c index 9f073f3209..1412644e7c 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: