mirror of https://github.com/moparisthebest/curl
url: Corrected get protocol family for FTP and LDAP
Fixed copy/paste error from commit a5aec58726
.
This commit is contained in:
parent
7c314fd9f8
commit
9a8aef1365
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue