]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix compilation without incoming DoH support 11106/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Dec 2021 08:36:25 +0000 (09:36 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Dec 2021 08:37:18 +0000 (09:37 +0100)
(cherry picked from commit d0ae90801838ed9104051fa11fa577f3a96a9289)

pdns/dnsdistdist/doh.cc

index 3bfd66a0087820291d1374afb39e5c91dad23be4..ed7daa54ee81267b8f091d9413d1804007412dc7 100644 (file)
@@ -1685,7 +1685,7 @@ void DOHUnit::handleUDPResponse(PacketBuffer&& udpResponse, IDState&& state)
 
 #else /* HAVE_DNS_OVER_HTTPS */
 
-void handleDOHTimeout(DOHUnit* oldDU)
+void handleDOHTimeout(DOHUnitUniquePtr&& oldDU)
 {
 }