From: Zenju Date: Fri, 16 Oct 2020 12:44:34 +0000 (+0200) Subject: CURLOPT_TCP_NODELAY.3: fix comment in example code X-Git-Tag: curl-7_74_0~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1a05b0bf991ad6d25151ed92ee3924579e19b3;p=thirdparty%2Fcurl.git CURLOPT_TCP_NODELAY.3: fix comment in example code Closes #6096 --- diff --git a/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3 b/docs/libcurl/opts/CURLOPT_TCP_NODELAY.3 index 2e9aa3123a..d591ec089c 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); }