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

/illumos-gate/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c53 // DomainEndsInDot returns 1 if name ends with a dot, 0 otherwise
56 static int DomainEndsInDot(const char *dom) function
110 const size_t len = !regtype ? 0 : strlen(regtype) - DomainEndsInDot(regtype);
147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';}
150 if (!DomainEndsInDot(domain)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';}

Completed in 43 milliseconds