Searched refs:portptr (Results 1 – 2 of 2) sorted by relevance
512 char *portptr; in Curl_parse_port() local518 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 …]
2182 char *portptr = NULL; local2297 (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; local2902 portptr = hostptr;2925 portptr = ptr;2938 host_portno = strchr(portptr, ':');