]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_TCP_NODELAY.3: fix comment in example code
authorZenju <zenju@gmx.de>
Fri, 16 Oct 2020 12:44:34 +0000 (14:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Oct 2020 13:06:51 +0000 (15:06 +0200)
Closes #6096

docs/libcurl/opts/CURLOPT_TCP_NODELAY.3

index 2e9aa3123a54fee78bf6f737306f5a1aacbc4d91..d591ec089cb7338153b5b53fdfe6ab232db024f3 100644 (file)
@@ -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);
 }