Home
last modified time | relevance | path

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

/third_party/curl/lib/
Durlapi.c512 char *portptr; in Curl_parse_port() local
518 portptr = strchr(hostname, ']'); in Curl_parse_port()
519 if(!portptr) in Curl_parse_port()
521 portptr++; in Curl_parse_port()
523 if(*portptr) { in Curl_parse_port()
524 if(*portptr != ':') in Curl_parse_port()
528 portptr = NULL; in Curl_parse_port()
531 portptr = strchr(hostname, ':'); in Curl_parse_port()
533 if(portptr) { in Curl_parse_port()
536 size_t keep = portptr - hostname; in Curl_parse_port()
[all …]
Durl.c2182 char *portptr = NULL; local
2297 (void)curl_url_get(uhp, CURLUPART_PORT, &portptr, 0);
2299 if(portptr) {
2300 port = (int)strtol(portptr, NULL, 10);
2301 free(portptr);
2881 char *portptr; local
2902 portptr = hostptr;
2925 portptr = ptr;
2938 host_portno = strchr(portptr, ':');