From: Daniel Stenberg Date: Wed, 23 Apr 2025 12:36:02 +0000 (+0200) Subject: libcurl-tutorial.md: fix read callback explanation X-Git-Tag: curl-8_14_0~233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c59a6ac551b58c78822830dbd769338e462e4a2;p=thirdparty%2Fcurl.git libcurl-tutorial.md: fix read callback explanation Fixes #17138 Reported-by: Thomas Klausner Closes #17154 --- diff --git a/docs/libcurl/libcurl-tutorial.md b/docs/libcurl/libcurl-tutorial.md index 8c8c483d16..e515b3b7b0 100644 --- a/docs/libcurl/libcurl-tutorial.md +++ b/docs/libcurl/libcurl-tutorial.md @@ -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.