Lines Matching refs:portptr
515 char *portptr; in Curl_parse_port() local
521 portptr = strchr(hostname, ']'); in Curl_parse_port()
522 if(!portptr) in Curl_parse_port()
524 portptr++; in Curl_parse_port()
526 if(*portptr) { in Curl_parse_port()
527 if(*portptr != ':') in Curl_parse_port()
531 portptr = NULL; in Curl_parse_port()
534 portptr = strchr(hostname, ':'); in Curl_parse_port()
536 if(portptr) { in Curl_parse_port()
539 size_t keep = portptr - hostname; in Curl_parse_port()
549 portptr++; in Curl_parse_port()
550 if(!*portptr) in Curl_parse_port()
553 if(!ISDIGIT(*portptr)) in Curl_parse_port()
557 port = strtoul(portptr, &rest, 10); /* Port number must be decimal */ in Curl_parse_port()