fprintf(stderr, "%s\n", header->value);
}
+void _kds_s2000w_client_print_error_result(CURLcode result)
+{
+ if (result == CURLE_OK)
+ return;
+
+ fprintf(stderr, "ERROR: curl_easy_perform: %s\n", curl_easy_strerror(result));
+}
+
void _kds_s2000w_client_stream_to_response(char* mem, response* resp, size_t* size)
{
debug_printf(ALL, "kds_s2000w_client_stream_to_response");
memcpy(resp->data, mem, *size);
}
-void _kds_s2000w_client_print_error_result(CURLcode result)
-{
- if (result == CURLE_OK)
- return;
-
- fprintf(stderr, "ERROR: curl_easy_perform: %s\n", curl_easy_strerror(result));
-}
-
void _kds_s2000w_client_set_ssl_verification_off(CURL* curl)
{
if (config->ssl_verify)