]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_XFERINFOFUNCTION.3: fix typo in example
authorDaniel Stenberg <daniel@haxx.se>
Mon, 21 Feb 2022 09:09:59 +0000 (10:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 21 Feb 2022 09:28:34 +0000 (10:28 +0100)
Reported-by: coralw on github
Fixes #8487
Closes #8488

docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3

index 3bd69040b21c444364ccfdef447e82fc31d0b335..7b6618efd93eb2b85719f89f8fbcf8b6066455b3 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -90,7 +90,7 @@ All
                                  curl_off_t ultotal,
                                  curl_off_t ulnow)
  {
-   struct memory *progress = (struct progress *)userp;
+   struct memory *progress = (struct progress *)clientp;
 
    /* use the values */