Skip to content

Commit 11dfeba

Browse files
committed
NSURLSession: fix libcurl debug output
1 parent 3bcb2d6 commit 11dfeba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/GSEasyHandle.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ - (void) setDebugOutput: (BOOL)flag
329329
{
330330
if (flag)
331331
{
332-
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGDATA, self));
332+
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGDATA, task));
333333
handleEasyCode(curl_easy_setopt(_rawHandle, CURLOPT_DEBUGFUNCTION,
334334
curl_debug_function));
335335
}

0 commit comments

Comments
 (0)