]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment
authorFarzin <monseffarzin@gmail.com>
Wed, 23 Feb 2022 07:47:15 +0000 (11:17 +0330)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 23 Feb 2022 08:13:11 +0000 (03:13 -0500)
Closes https://github.com/curl/curl/pull/8500

docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3

index 7b45a42a49e2dabaedbfd53fdd4486a01956bb49..ed8accebc9a128835c07ef75a9245c4e3002ec7f 100644 (file)
@@ -93,7 +93,7 @@ All
                                  double ultotal,
                                  double ulnow)
  {
-   struct memory *progress = (struct progress *)userp;
+   struct progress *memory = (struct progress *)userp;
 
    /* use the values */