NSURLSession: fix libcurl debug output

This commit is contained in:
Frederik Seiffert 2023-01-16 17:07:32 +01:00 committed by Frederik Seiffert
parent 1efd805421
commit 7e7cac89aa

View file

@ -329,7 +329,7 @@ curl_socket_function(void *userdata, curl_socket_t fd, curlsocktype type)
{
if (flag)
{
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGDATA, self));
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGDATA, task));
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGFUNCTION,
curl_debug_function));
}