summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenju <zenju@gmx.de>2020-10-16 14:44:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-16 15:06:51 +0200
commit6d1a05b0bf991ad6d25151ed92ee3924579e19b3 (patch)
tree6e7a94c2850949178d5b0ee16f891c5783b02226
parenta3d5b199f96a108f38bd1f6adaf3a7585f721d02 (diff)
downloadcurl-6d1a05b0bf991ad6d25151ed92ee3924579e19b3.tar.gz
CURLOPT_TCP_NODELAY.3: fix comment in example code
Closes #6096
-rw-r--r--docs/libcurl/opts/CURLOPT_TCP_NODELAY.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3 b/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3
index 2e9aa3123..d591ec089 100644
--- a/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3
+++ b/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3
@@ -51,7 +51,7 @@ All
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
- /* disable Nagle */
+ /* leave Nagle enabled */
curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
curl_easy_perform(curl);
}