From 4517d8eb6f2a207c68bf0800eefbbd8c6f753425 Mon Sep 17 00:00:00 2001 From: Farzin Date: Wed, 23 Feb 2022 11:17:15 +0330 Subject: [PATCH] CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment Closes https://github.com/curl/curl/pull/8500 --- docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */