Home
last modified time | relevance | path

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

/external/curl/lib/
Dhostcheck.c126 char *hostp; in Curl_cert_hostcheck() local
134 hostp = strdup(hostname); in Curl_cert_hostcheck()
135 if(hostp) { in Curl_cert_hostcheck()
136 if(hostmatch(hostp, matchp) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
138 free(hostp); in Curl_cert_hostcheck()
Dhostip.c775 struct curl_slist *hostp; in Curl_loadhostpairs() local
780 for(hostp = data->change.resolve; hostp; hostp = hostp->next ) { in Curl_loadhostpairs()
781 if(!hostp->data) in Curl_loadhostpairs()
783 if(hostp->data[0] == '-') { in Curl_loadhostpairs()
787 if(2 != sscanf(hostp->data + 1, "%255[^:]:%d", hostname, &port)) { in Curl_loadhostpairs()
789 hostp->data); in Curl_loadhostpairs()
820 if(3 != sscanf(hostp->data, "%255[^:]:%d:%255s", hostname, &port, in Curl_loadhostpairs()
823 hostp->data); in Curl_loadhostpairs()
829 infof(data, "Address in '%s' found illegal!\n", hostp->data); in Curl_loadhostpairs()