summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-12-13 08:15:15 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-12-13 08:18:10 +0100
commit9c6a6be88230bf8237f70678a164aa42555d1238 (patch)
tree2331f3f3fe4bee8a470433761ce25e17ed588010
parent02f207a76b45129e4d033c099e6d17581801c76e (diff)
downloadcurl-9c6a6be88230bf8237f70678a164aa42555d1238.tar.gz
CURLOPT_READFUNCTION.3: refer to argument with correct name
Bug: #2175 [ci skip]
-rw-r--r--docs/libcurl/opts/CURLOPT_READFUNCTION.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_READFUNCTION.3 b/docs/libcurl/opts/CURLOPT_READFUNCTION.3
index a43e68b92..096312d28 100644
--- a/docs/libcurl/opts/CURLOPT_READFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_READFUNCTION.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2017, 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
@@ -36,7 +36,7 @@ Pass a pointer to your callback function, as the prototype shows above.
This 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 of bytes
+filled up with at most \fIsize\fP multiplied with \fInitems\fP number of bytes
by your function.
Your function must then return the actual number of bytes that it stored in