]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/INTERNALS: remove reference to Curl_sendf()
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Nov 2020 22:06:49 +0000 (23:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Nov 2020 12:17:25 +0000 (13:17 +0100)
The function has been removed from common usage. Also removed comment in
gopher.c that still referenced it.

Reported-by: Rikard Falkeborn
Fixes #6242
Closes #6243

docs/INTERNALS.md
lib/gopher.c

index 31f718c420bff8ffea1c968a6894525795a4cbc7..9bbf6316124566b8f13a1cd12ab0aa8517768f0d 100644 (file)
@@ -236,11 +236,9 @@ multi_do()
    The functions are named after the protocols they handle.
 
    The protocol-specific functions of course deal with protocol-specific
-   negotiations and setup. They have access to the `Curl_sendf()` (from
-   `lib/sendf.c`) function to send printf-style formatted data to the remote
-   host and when they're ready to make the actual file transfer they call the
-   `Curl_setup_transfer()` function (in `lib/transfer.c`) to setup the
-   transfer and returns.
+   negotiations and setup. When they're ready to start the actual file
+   transfer they call the `Curl_setup_transfer()` function (in
+   `lib/transfer.c`) to setup the transfer and returns.
 
    If this DO function fails and the connection is being re-used, libcurl will
    then close this connection, setup a new connection and re-issue the DO
index 1bbede67d681339d40685749b2adf37a3a6d4d60..b101c0ab680ec3eb3398159b1aba414acedf788f 100644 (file)
@@ -124,8 +124,6 @@ static CURLcode gopher_do(struct connectdata *conn, bool *done)
     sel_org = sel;
   }
 
-  /* We use Curl_write instead of Curl_sendf to make sure the entire buffer is
-     sent, which could be sizeable with long selectors. */
   k = curlx_uztosz(len);
 
   for(;;) {