Skip to content

Commit

Permalink
NSURLSession: fix libcurl debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef committed Jan 16, 2023
1 parent 3bcb2d6 commit 11dfeba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GSEasyHandle.m
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ - (void) setDebugOutput: (BOOL)flag
{
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));
}
Expand Down

0 comments on commit 11dfeba

Please sign in to comment.