aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-29 11:32:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-29 11:32:14 +0000
commitbd600fbebe7c0fdb314cb2a8015f1b89ea036b74 (patch)
treeb09898cc35ebd18f5e4378198057cd55484f20f2 /lib
parent064bbb999f25e630f2b36fcacb8e58535111b07d (diff)
curl_easy_duphandle() sets the magic number in the new handle
Diffstat (limited to 'lib')
-rw-r--r--lib/easy.c2
1 files changed, 2 insertions, 0 deletions
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);