lib/curl/Multi: rename parameters
This commit is contained in:
parent
7dd2dce6ad
commit
fe2ca1ddef
@ -89,14 +89,14 @@ public:
|
||||
throw std::runtime_error(curl_multi_strerror(code));
|
||||
}
|
||||
|
||||
void Add(CURL *easy_handle) {
|
||||
auto code = curl_multi_add_handle(handle, easy_handle);
|
||||
void Add(CURL *easy) {
|
||||
auto code = curl_multi_add_handle(handle, easy);
|
||||
if (code != CURLM_OK)
|
||||
throw std::runtime_error(curl_multi_strerror(code));
|
||||
}
|
||||
|
||||
void Remove(CURL *easy_handle) {
|
||||
auto code = curl_multi_remove_handle(handle, easy_handle);
|
||||
void Remove(CURL *easy) {
|
||||
auto code = curl_multi_remove_handle(handle, easy);
|
||||
if (code != CURLM_OK)
|
||||
throw std::runtime_error(curl_multi_strerror(code));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user