]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix incorrect argument name reference
authorRandolf J <34705014+jun-sheaf@users.noreply.github.com>
Tue, 13 Jul 2021 07:50:12 +0000 (00:50 -0700)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 13 Jul 2021 20:04:05 +0000 (22:04 +0200)
The documentation for the read callback was erroneously referencing
the nitems argument by nmemb.  The error was introduced in commit
ce0881edee3c7.

Closes #7383
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
docs/libcurl/curl_mime_data_cb.3

index d3e05ffb4603c0fb4985fc8370a94540150ab1e8..fc2eac38b2bb8a5c13f164ca35ee5137e2ea6d58 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -61,7 +61,7 @@ freeing.
 The read callback function gets called by libcurl as soon as it needs to
 read data in order to send it to the peer - like if you ask it to upload or
 post data to the server. The data area pointed at by the pointer \fIbuffer\fP
-should be filled up with at most \fIsize\fP multiplied with \fInmemb\fP number
+should be filled up with at most \fIsize\fP multiplied with \fInitems\fP number
 of bytes by your function.
 
 Your read function must then return the actual number of bytes that it stored