index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <d@falconindy.com> | 2011-03-25 11:57:20 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:04:53 -0500 |
commit | 91594a1ef895a6e47ece299b762d5476f1bca348 (patch) | |
tree | 36449c5a5918588eec39ba24401aafadc2e43798 /lib/libalpm/dload.c | |
parent | fdcfcf28a28006a4239e54a34129d3b099d0df0d (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index b96ca162..5347b9bb 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -192,7 +192,7 @@ static int curl_download_internal(const char *url, const char *localpath, curl_easy_setopt(handle->curl, CURLOPT_NOPROGRESS, 0L); curl_easy_setopt(handle->curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(handle->curl, CURLOPT_PROGRESSFUNCTION, curl_progress); - curl_easy_setopt(handle->curl, CURLOPT_PROGRESSDATA, (void*)&dlfile); + curl_easy_setopt(handle->curl, CURLOPT_PROGRESSDATA, (void *)&dlfile); useragent = getenv("HTTP_USER_AGENT"); if (useragent != NULL) { |