mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
MINOR: dns: coding style update
No affectation in a if condition.
This commit is contained in:
parent
11c4e4eefb
commit
01daef3162
1 changed files with 2 additions and 1 deletions
|
|
@ -165,7 +165,8 @@ void dns_resolve_recv(struct dgram_conn *dgram)
|
|||
query_id = dns_response_get_query_id(buf);
|
||||
|
||||
/* search the query_id in the pending resolution tree */
|
||||
if ((eb = eb32_lookup(&resolvers->query_ids, query_id)) == NULL) {
|
||||
eb = eb32_lookup(&resolvers->query_ids, query_id);
|
||||
if (eb == NULL) {
|
||||
/* unknown query id means an outdated response and can be safely ignored */
|
||||
nameserver->counters.outdated += 1;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue