Home
last modified time | relevance | path

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

/third_party/curl/lib/
H A Dftp.c927 char *string_ftpport = data->set.str[STRING_FTPPORT]; in ftp_state_use_port() local
948 if(*string_ftpport == '[') { in ftp_state_use_port()
950 char *ip_start = string_ftpport + 1; in ftp_state_use_port()
959 if(*string_ftpport == ':') { in ftp_state_use_port()
961 ip_end = string_ftpport; in ftp_state_use_port()
964 ip_end = strchr(string_ftpport, ':'); in ftp_state_use_port()
965 addr = string_ftpport; in ftp_state_use_port()
968 addrlen = ip_end - string_ftpport; in ftp_state_use_port()
970 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port()
979 addrlen = strlen(string_ftpport); in ftp_state_use_port()
[all...]

Completed in 3 milliseconds