From 80015cdd52145bd95b98e0e456540c6da3120f98 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 16 Mar 2016 19:13:42 -0400 Subject: version: thread safety --- lib/easy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/easy.c') diff --git a/lib/easy.c b/lib/easy.c index fc7b40b27..0b6d93361 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -79,6 +79,8 @@ #include "curl_memory.h" #include "memdebug.h" +void curl_version_init(); + /* win32_cleanup() is for win32 socket cleanup functionality, the opposite of win32_init() */ static void win32_cleanup(void) @@ -280,7 +282,9 @@ static CURLcode global_init(long flags, bool memoryfuncs) if(flags & CURL_GLOBAL_ACK_EINTR) Curl_ack_eintr = 1; - init_flags = flags; + init_flags = flags; + + curl_version_init(); return CURLE_OK; } -- cgit v1.2.3