libcurl-tutorial.md: fix read callback explanation

Fixes #17138
Reported-by: Thomas Klausner
Closes #17154
This commit is contained in:
Daniel Stenberg 2025-04-23 14:36:02 +02:00
parent 51170b52d1
commit 9c59a6ac55
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -322,7 +322,7 @@ have a prototype similar to:
size_t function(char *bufptr, size_t size, size_t nitems, void *userp);
~~~
Where *bufptr* is the pointer to a buffer we fill in with data to upload
and *size*nitems* is the size of the buffer and therefore also the maximum
and *nitems* is the size of the buffer and therefore also the maximum
amount of data we can return to libcurl in this call. The *userp* pointer
is the custom pointer we set to point to a struct of ours to pass private data
between the application and the callback.