]> granicus.if.org Git - curl/commitdiff
CURLOPT_TCP_NODELAY.3: fix typo
authorrouzier <rouzier@gmail.com>
Mon, 15 Jan 2018 16:06:38 +0000 (11:06 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 15 Jan 2018 22:06:58 +0000 (23:06 +0100)
Closes #2239

docs/libcurl/opts/CURLOPT_TCP_NODELAY.3

index 701e3150202e2cd1d0fdf99fde7ccc059d946224..bbfa6f3eef0ca91748531c222f70b87f9597628a 100644 (file)
@@ -52,7 +52,7 @@ CURL *curl = curl_easy_init();
 if(curl) {
   curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
   /* disable Nagle */
-  curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 0);
+  curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
   curl_easy_perform(curl);
 }
 .fi