CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment

Closes https://github.com/curl/curl/pull/8500
This commit is contained in:
Farzin 2022-02-23 11:17:15 +03:30 committed by Jay Satiro
parent e2e3408222
commit 4517d8eb6f

View File

@ -93,7 +93,7 @@ All
double ultotal,
double ulnow)
{
struct memory *progress = (struct progress *)userp;
struct progress *memory = (struct progress *)userp;
/* use the values */