diff options
author | Clint Clayton <clintclayton@me.com> | 2016-02-14 13:22:19 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-02-14 22:38:12 +0100 |
commit | ede0bfc079da52e5b05764852e7cb55fc6dff09f (patch) | |
tree | 8a9d3d294d6ca952a25e0fcf142458d549db42da | |
parent | a87cb257b418c2002d5aee2c6158a00cfdca69f4 (diff) |
CURLOPT_CONNECTTIMEOUT_MS.3: Fix example to use milliseconds option
Change the example in the docs for CURLOPT_CONNECTTIMEOUT_MS to use
CURLOPT_CONNECTTIMEOUT_MS instead of CURLOPT_CONNECTTIMEOUT.
Closes #653
-rw-r--r-- | docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3 b/docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3 index 6fe851e84..7a24a8b97 100644 --- a/docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3 +++ b/docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3 @@ -47,7 +47,7 @@ if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); /* complete connection within 10000 milliseconds */ - curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 10000L); + curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 10000L); curl_easy_perform(curl); } |