Commit 9ebfca1e authored by Simon Kelley's avatar Simon Kelley

Compiler warning.

parent 6429e421
...@@ -1566,7 +1566,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen, ...@@ -1566,7 +1566,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
anscount++; anscount++;
} }
} }
} while (crecp = cache_find_by_name(crecp, name, now, F_DNSKEY)); } while ((crecp = cache_find_by_name(crecp, name, now, F_DNSKEY)));
} }
if ((qtype == T_DS || qtype == T_ANY) && (crecp = cache_find_by_name(NULL, name, now, F_DS))) if ((qtype == T_DS || qtype == T_ANY) && (crecp = cache_find_by_name(NULL, name, now, F_DS)))
...@@ -1591,7 +1591,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen, ...@@ -1591,7 +1591,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
anscount++; anscount++;
} }
} }
} while (crecp = cache_find_by_name(crecp, name, now, F_DS)); } while ((crecp = cache_find_by_name(crecp, name, now, F_DS)));
} }
#endif #endif
......
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