Searched refs:portptr (Results 1 – 2 of 2) sorted by relevance
503 char *portptr = NULL; in Curl_parse_port() local514 portptr = &hostname[len]; in Curl_parse_port()520 portptr = &hostname[--zonelen + len + 1]; in Curl_parse_port()529 if(portptr && *portptr) { in Curl_parse_port()530 if(*portptr != ':') in Curl_parse_port()534 portptr = NULL; in Curl_parse_port()537 portptr = strchr(hostname, ':'); in Curl_parse_port()539 if(portptr) { in Curl_parse_port()551 if(!portptr[1]) { in Curl_parse_port()552 *portptr = '\0'; in Curl_parse_port()[all …]
2421 char *portptr = NULL; local2521 (void)curl_url_get(uhp, CURLUPART_PORT, &portptr, 0);2523 if(portptr) {2524 port = (int)strtol(portptr, NULL, 10);2525 free(portptr);3071 char *portptr; local3092 portptr = hostptr;3115 portptr = ptr;3128 host_portno = strchr(portptr, ':');