From: Farzin Date: Wed, 23 Feb 2022 07:47:15 +0000 (+0330) Subject: CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment X-Git-Tag: curl-7_82_0~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4517d8eb6f2a207c68bf0800eefbbd8c6f753425;p=thirdparty%2Fcurl.git CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment Closes https://github.com/curl/curl/pull/8500 --- diff --git a/docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3 b/docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3 index 7b45a42a49..ed8accebc9 100644 --- a/docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3 @@ -93,7 +93,7 @@ All double ultotal, double ulnow) { - struct memory *progress = (struct progress *)userp; + struct progress *memory = (struct progress *)userp; /* use the values */