diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/dnsdist/files/patch-boost-1.69 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dns/dnsdist/files/patch-boost-1.69 b/dns/dnsdist/files/patch-boost-1.69 index f542b8d3b52b..2fcbe7f158f7 100644 --- a/dns/dnsdist/files/patch-boost-1.69 +++ b/dns/dnsdist/files/patch-boost-1.69 @@ -1,13 +1,16 @@ -https://github.com/PowerDNS/pdns/issues/7091 +https://github.com/PowerDNS/pdns/commit/d7a263770fea --- dnsdist-lua.cc.orig 2018-07-10 12:43:20 UTC +++ dnsdist-lua.cc -@@ -73,7 +73,7 @@ void setLuaSideEffect() +@@ -73,7 +73,10 @@ void setLuaSideEffect() bool getLuaNoSideEffect() { - return g_noLuaSideEffect==true; -+ return bool{g_noLuaSideEffect}; ++ if (g_noLuaSideEffect) { ++ return true; ++ } ++ return false; } void resetLuaSideEffect() |