- Fix to put braces around empty if body when threading is disabled.

This commit is contained in:
W.C.A. Wijngaards 2020-02-06 15:33:02 +01:00
parent 8e135d5f59
commit aee3706f66
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,7 @@
- Fix to create and destroy rpz_lock in auth_zones structure.
- Fix to lock zone before adding rpz qname trigger.
- Fix to lock and release once in mesh_serve_expired_lookup.
- Fix to put braces around empty if body when threading is disabled.
5 February 2020: George
- Added serve-stale functionality as described in

View file

@ -1017,8 +1017,9 @@ respip_rewrite_reply(const struct query_info* qinfo,
redirect_rrset, tag, ipset, search_only, region,
rpz_used, rpz_log, log_name, rpz_cname_override);
}
if(raddr)
if(raddr) {
lock_rw_unlock(&raddr->lock);
}
return ret;
}