diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2016-03-16 19:13:42 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2016-03-16 19:13:42 -0400 |
commit | 80015cdd52145bd95b98e0e456540c6da3120f98 (patch) | |
tree | d4cd9195c28a352c27943dcc16f422d44d5d0baf /lib/easy.c | |
parent | 0e18b8b1071d1101e41bd78d69db64d1514383fc (diff) |
version: thread safety
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |