From: Daniel Stenberg Date: Mon, 21 Feb 2022 09:09:59 +0000 (+0100) Subject: CURLOPT_XFERINFOFUNCTION.3: fix typo in example X-Git-Tag: curl-7_82_0~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a63c91adfa2f2fa78b6cf6a1c2f83f4b92ff960e;p=thirdparty%2Fcurl.git CURLOPT_XFERINFOFUNCTION.3: fix typo in example Reported-by: coralw on github Fixes #8487 Closes #8488 --- diff --git a/docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3 b/docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3 index 3bd69040b2..7b6618efd9 100644 --- a/docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2022, Daniel Stenberg, , 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 */