From 9c59a6ac551b58c78822830dbd769338e462e4a2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 Apr 2025 14:36:02 +0200 Subject: [PATCH] libcurl-tutorial.md: fix read callback explanation Fixes #17138 Reported-by: Thomas Klausner Closes #17154 --- docs/libcurl/libcurl-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.