Searched refs:domainlen (Results 1 – 1 of 1) sorted by relevance
152 unsigned int domainlen = strlen(serv->domain); in search_servers() local153 char *matchstart = qdomain + namelen - domainlen; in search_servers()154 if (namelen >= domainlen && in search_servers()156 domainlen >= matchlen && in search_servers()157 (domainlen == 0 || namelen == domainlen || *(serv->domain) == '.' || *(matchstart-1) == '.' )) in search_servers()162 matchlen = domainlen; in search_servers()