summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-03-11 22:56:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-03-11 22:56:03 +0000
commit6173e38fdcf5a9db84be511dfcf0037b8339c0bb (patch)
treed3553dd938e077e548d96941ee3afb93f13d967f /include
parent34cd99d1d9baa0841890188e95aa2e2255bf5afc (diff)
downloadcurl-6173e38fdcf5a9db84be511dfcf0037b8339c0bb.tar.gz
- Kamil Dudka made the curl tool properly call curl_global_init() before any
other libcurl function.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 8d952caab..7ecb6317b 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -1510,7 +1510,9 @@ CURL_EXTERN void curl_free(void *p);
* DESCRIPTION
*
* curl_global_init() should be invoked exactly once for each application that
- * uses libcurl
+ * uses libcurl and before any call of other libcurl function.
+ *
+ * This function is not thread-safe!
*/
CURL_EXTERN CURLcode curl_global_init(long flags);