From: W.C.A. Wijngaards Date: Thu, 6 Feb 2020 14:33:02 +0000 (+0100) Subject: - Fix to put braces around empty if body when threading is disabled. X-Git-Tag: release-1.10.0rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee3706f66161ffc204cba13838c00ac3cefdf7e;p=thirdparty%2Funbound.git - Fix to put braces around empty if body when threading is disabled. --- diff --git a/doc/Changelog b/doc/Changelog index 6b6a0ebad..9fec42bbe 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/respip/respip.c b/respip/respip.c index ec7026add..e47171f85 100644 --- a/respip/respip.c +++ b/respip/respip.c @@ -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; }