Commit fe2ca1dd authored by Max Kellermann's avatar Max Kellermann

lib/curl/Multi: rename parameters

parent 7dd2dce6
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment