examples: remove superfluous asterisk uses

... for function pointers. Breaks in ancient compilers.
This commit is contained in:
Daniel Stenberg 2020-12-16 09:24:16 +01:00
parent 4dc710b198
commit 1451f4d2e1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 6 additions and 6 deletions

View file

@ -198,8 +198,8 @@ void SyncTime_CURL_Init(CURL *curl, char *proxy_port,
#ifdef SYNCTIME_UA
curl_easy_setopt(curl, CURLOPT_USERAGENT, SYNCTIME_UA);
#endif
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, *SyncTime_CURL_WriteOutput);
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, *SyncTime_CURL_WriteHeader);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, SyncTime_CURL_WriteOutput);
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, SyncTime_CURL_WriteHeader);
}
int SyncTime_CURL_Fetch(CURL *curl, char *URL_Str, char *OutFileName,