- http_error_ex(HE_WARNING, HTTP_E_REQUEST, "Could not perform request: %s", curl_easy_strerror(result));
- return FAILURE;
- } else {
- /* get curl info */
- if (info) {
- http_request_info(ch, info);
- }
- return SUCCESS;
+ http_error(HE_WARNING, HTTP_E_REQUEST, curl_easy_strerror(result));
+ }
+ /* get curl info */
+ if (info) {
+ http_request_info(ch, info);