url: Corrected get protocol family for FTP and LDAP

Fixed copy/paste error from commit a5aec58726.
This commit is contained in:
Steve Holme 2016-04-01 07:24:39 +01:00
parent 7c314fd9f8
commit 9a8aef1365
1 changed files with 2 additions and 2 deletions

View File

@ -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: