]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libcurl-tutorial.md: fix read callback explanation
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Apr 2025 12:36:02 +0000 (14:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Apr 2025 21:23:59 +0000 (23:23 +0200)
Fixes #17138
Reported-by: Thomas Klausner
Closes #17154

docs/libcurl/libcurl-tutorial.md

index 8c8c483d1625f031ceca70e37e49079df153eb46..e515b3b7b0674fab608d066d7cb07a235fe98f9d 100644 (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.