Searched refs:len_domain (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c306 int len_host, len_domain; local
311 len_domain = strlen(_res.defdname);
312 if (len_host > len_domain &&
313 !strcasecmp(hostname + len_host - len_domain, _res.defdname) &&
314 hostname[len_host - len_domain - 1] == '.')
315 return (len_host - len_domain - 1);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c5540 size_t len_host, len_domain; local
5545 len_domain = strlen(_res.defdname);
5546 if (len_host > len_domain &&
5547 (sm_strcasecmp(hostname + len_host - len_domain,
5549 hostname[len_host - len_domain - 1] == '.')
5550 return len_host - len_domain - 1;

Completed in 176 milliseconds