Searched refs:host_len (Results 1 – 1 of 1) sorted by relevance
50 int host_len = port - addr_str - 1; in net_getaddrinfo_addr_str() local52 if (host_len > sizeof(host) - 1) { in net_getaddrinfo_addr_str()56 strncpy(host, addr_str, host_len + 1); in net_getaddrinfo_addr_str()57 host[host_len] = '\0'; in net_getaddrinfo_addr_str()