Commit 9a8aef13 authored by Steve Holme's avatar Steve Holme
Browse files

url: Corrected get protocol family for FTP and LDAP

Fixed copy/paste error from commit a5aec587.
parent 7c314fd9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -6144,7 +6144,7 @@ unsigned int get_protocol_family(unsigned int protocol)


  case CURLPROTO_FTP:
  case CURLPROTO_FTP:
  case CURLPROTO_FTPS:
  case CURLPROTO_FTPS:
    family = CURLPROTO_IMAP;
    family = CURLPROTO_FTP;
    break;
    break;


  case CURLPROTO_SCP:
  case CURLPROTO_SCP:
@@ -6161,7 +6161,7 @@ unsigned int get_protocol_family(unsigned int protocol)


  case CURLPROTO_LDAP:
  case CURLPROTO_LDAP:
  case CURLPROTO_LDAPS:
  case CURLPROTO_LDAPS:
    family = CURLPROTO_IMAP;
    family = CURLPROTO_LDAP;
    break;
    break;


  case CURLPROTO_DICT:
  case CURLPROTO_DICT: