]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
doh: fix #ifdef name
authorDaniel Stenberg <daniel@haxx.se>
Fri, 24 Apr 2026 05:57:14 +0000 (07:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 24 Apr 2026 06:56:35 +0000 (08:56 +0200)
Spotted by Copilot

Closes #21431

lib/doh.c

index 4621ccf8d8de8e0838650ef384788bc890836b15..a4340b1a2aed1a8e4dd23e15f61abaa48946b2b8 100644 (file)
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -860,7 +860,7 @@ UNITTEST DOHcode doh_resp_decode(const unsigned char *doh,
   if(index != dohlen)
     return DOH_DNS_MALFORMAT; /* something is wrong */
 
-#ifdef USE_HTTTPS
+#ifdef USE_HTTPSRR
   if((type != CURL_DNS_TYPE_NS) && !d->numcname && !d->numaddr &&
      !d->numhttps_rrs)
 #else