mirror of
https://github.com/curl/curl.git
synced 2026-07-23 20:57:16 +03:00
curl_easy_duphandle() sets the magic number in the new handle
This commit is contained in:
parent
064bbb999f
commit
bd600fbebe
3 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue