]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
minicurl: correct comment
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Sat, 18 May 2019 21:18:06 +0000 (23:18 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 4 Jun 2019 13:20:59 +0000 (15:20 +0200)
pdns/minicurl.cc

index e8ba8e9edad4b13f5f4b5203bf64d933a1cebfb9..740940a57b245dd4eb9e5f8f9cc9bf7cdf031739 100644 (file)
@@ -103,7 +103,7 @@ void MiniCurl::setupURL(const std::string& str, const ComboAddress* rem, const C
     curl_easy_setopt(d_curl, CURLOPT_INTERFACE, src->toString().c_str());
   }
   curl_easy_setopt(d_curl, CURLOPT_FOLLOWLOCATION, true);
-  /* only allow HTTP, TFTP and SFTP */
+  /* only allow HTTP and HTTPS */
   curl_easy_setopt(d_curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
   curl_easy_setopt(d_curl, CURLOPT_SSL_VERIFYPEER, false);
   curl_easy_setopt(d_curl, CURLOPT_SSL_VERIFYHOST, false);