]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_PROGRESSFUNCTION.3: fix typo in example
authorFarzin <monseffarzin@gmail.com>
Fri, 25 Mar 2022 15:26:24 +0000 (19:56 +0430)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Mar 2022 15:53:30 +0000 (16:53 +0100)
Closes #8636

docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3

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