From 0f6562ef51df7a9370bb966448263cc21bead7a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 30 Dec 2017 05:41:59 +0100 Subject: Fix compile error for non windows build --- src/curl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/curl.cpp') diff --git a/src/curl.cpp b/src/curl.cpp index a3c5e28..d14a036 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -66,7 +66,7 @@ namespace sibs curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, writeToFile); curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, true); curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "SIBS"); - curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE); + curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, false); #if OS_FAMILY == OS_FAMILY_POSIX FILE *file = fopen(filepath, "wb"); #else @@ -142,7 +142,7 @@ namespace sibs curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, writeToString); curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, true); curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "SIBS"); - curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE); + curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, false); curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &result.str); printf("Downloading from url: %s\n", url); -- cgit v1.2.3