aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/curl.cpp4
1 files changed, 2 insertions, 2 deletions
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);