Searched refs:len_host (Results 1 – 1 of 1) sorted by relevance
313 int len_host, len_domain; in local_hostname_length() local317 len_host = strlen(hostname); in local_hostname_length()319 if (len_host > len_domain && in local_hostname_length()320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()321 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()322 return (len_host - len_domain - 1); in local_hostname_length()