Home
last modified time | relevance | path

Searched refs:string_ftpport (Results 1 – 1 of 1) sorted by relevance

/curl/lib/
H A Dftp.c869 char *string_ftpport = data->set.str[STRING_FTPPORT]; in ftp_state_use_port() local
890 if(*string_ftpport == '[') { in ftp_state_use_port()
892 char *ip_start = string_ftpport + 1; in ftp_state_use_port()
901 if(*string_ftpport == ':') { in ftp_state_use_port()
903 ip_end = string_ftpport; in ftp_state_use_port()
906 ip_end = strchr(string_ftpport, ':'); in ftp_state_use_port()
907 addr = string_ftpport; in ftp_state_use_port()
910 addrlen = ip_end - string_ftpport; in ftp_state_use_port()
912 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port()
921 addrlen = strlen(string_ftpport); in ftp_state_use_port()

Completed in 11 milliseconds