]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_XFERINFOFUNCTION.3: fix example struct assignment
authorFarzin <monseffarzin@gmail.com>
Sun, 27 Feb 2022 14:13:52 +0000 (17:43 +0330)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 27 Feb 2022 17:17:51 +0000 (12:17 -0500)
Closes https://github.com/curl/curl/pull/8519

docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3

index 7b6618efd93eb2b85719f89f8fbcf8b6066455b3..fb9db0ce7534efc0feb41470e7d62551df8f85e9 100644 (file)
@@ -90,7 +90,7 @@ All
                                  curl_off_t ultotal,
                                  curl_off_t ulnow)
  {
-   struct memory *progress = (struct progress *)clientp;
+   struct progress *memory = (struct progress *)clientp;
 
    /* use the values */