CURLcode curl_err_code;
if ( (curl_err_code = curl_easy_perform(curl_easy_handle) ) != CURLE_OK )
{
- // CURL error occured
+ // CURL error occurred
if ( (curl_err_code == CURLE_COULDNT_CONNECT) || (curl_err_code == CURLE_OPERATION_TIMEOUTED) || (curl_err_code == CURLE_COULDNT_RESOLVE_HOST) )
{
// In case of connection problems we should return 1, that the fallback url will be used.