curl_easy_duphandle() sets the magic number in the new handle
This commit is contained in:
@@ -618,6 +618,8 @@ CURL *curl_easy_duphandle(CURL *incurl)
|
||||
|
||||
Curl_easy_initHandleData(outcurl);
|
||||
|
||||
outcurl->magic = CURLEASY_MAGIC_NUMBER;
|
||||
|
||||
fail = FALSE; /* we reach this point and thus we are OK */
|
||||
|
||||
} while(0);
|
||||
|
||||
Reference in New Issue
Block a user