From bd600fbebe7c0fdb314cb2a8015f1b89ea036b74 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 29 Dec 2006 11:32:14 +0000 Subject: curl_easy_duphandle() sets the magic number in the new handle --- lib/easy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index 17b9faf09..f78daedc5 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -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); -- cgit v1.2.3