Searched refs:hoststr (Results 1 – 3 of 3) sorted by relevance
396 char *hoststr; in Curl_ip2addr() local405 hoststr = strdup(hostname); in Curl_ip2addr()406 if(!hoststr) { in Curl_ip2addr()425 free(hoststr); in Curl_ip2addr()431 h->h_name = hoststr; in Curl_ip2addr()447 free(hoststr); in Curl_ip2addr()
1227 char hoststr[RPCAP_HOSTLIST_SIZE + 1]; in pcap_remoteact_list() local1239 if (sock_getascii_addrport((struct sockaddr_storage *) &temp->host, hoststr, in pcap_remoteact_list()1248 len = len + strlen(hoststr) + 1 /* the separator */; in pcap_remoteact_list()1257 strlcat(hostlist, hoststr, PCAP_ERRBUF_SIZE); in pcap_remoteact_list()
374 char *hoststr; in put_host_port() local378 if (asprintf(&hoststr, "[%s]:%d", host, (int)port) < 0) in put_host_port()380 debug3("put_host_port: %s", hoststr); in put_host_port()381 return hoststr; in put_host_port()