From a63c91adfa2f2fa78b6cf6a1c2f83f4b92ff960e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 21 Feb 2022 10:09:59 +0100 Subject: [PATCH] CURLOPT_XFERINFOFUNCTION.3: fix typo in example Reported-by: coralw on github Fixes #8487 Closes #8488 --- docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.47.3