aboutsummaryrefslogtreecommitdiff
path: root/src/curl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/curl.cpp')
-rw-r--r--src/curl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl.cpp b/src/curl.cpp
index 8b4384c..55277c3 100644
--- a/src/curl.cpp
+++ b/src/curl.cpp
@@ -142,7 +142,7 @@ namespace sibs
printf("Downloading from url: %s\n", url);
CURLcode curlResponse = curl_easy_perform(curl_handle);
- long httpCode = 0;
+ long httpCode = 503;
curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &httpCode);
curl_easy_cleanup(curl_handle);