Commit 6c0cb858 authored by Simon Kelley's avatar Simon Kelley

Trivial format fix

parent e0c0ad3b
......@@ -513,7 +513,8 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
char *matchstart = daemon->namebuff + namelen - domainlen;
if (namelen >= domainlen && hostname_isequal(matchstart, ipset_pos->domain) &&
(domainlen == 0 || namelen == domainlen || *(matchstart - 1) == '.' ) &&
domainlen >= matchlen) {
domainlen >= matchlen)
{
matchlen = domainlen;
sets = ipset_pos->sets;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment