Просмотр исходного кода

Not using FALSE, which may not be defined.

Jay Sistar 10 лет назад
Родитель
Сommit
a0430ef6eb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/Atomic/Web/WebRequest.cpp

+ 1 - 1
Source/Atomic/Web/WebRequest.cpp

@@ -308,7 +308,7 @@ void WebRequest::setup(asio::io_service *service, CURLM *curlm)
     is_->error[0] = '\0';
 
     // This line will eventually go away with a CA bundle in place, or other TLS options.
-    curl_easy_setopt(is_->curl, CURLOPT_SSL_VERIFYPEER, FALSE);
+    curl_easy_setopt(is_->curl, CURLOPT_SSL_VERIFYPEER, 0);
 
     curl_easy_setopt(is_->curl, CURLOPT_URL, is_->url.CString());