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

/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/
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 99 milliseconds