curl_easy_duphandle() sets the magic number in the new handle

This commit is contained in:
Daniel Stenberg
2006-12-29 11:32:14 +00:00
parent 064bbb999f
commit bd600fbebe
3 changed files with 7 additions and 0 deletions

View File

@@ -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);