From: Dan McGee Date: Tue, 3 May 2011 15:47:27 +0000 (+0800) Subject: http: make curl callbacks match contracts from curl header X-Git-Tag: v1.7.6-rc0~90^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a04ff3ec32b8a998a18f8b515ae4c48c1846b327?hp=a04ff3ec32b8a998a18f8b515ae4c48c1846b327 http: make curl callbacks match contracts from curl header Yes, these don't match perfectly with the void* first parameter of the fread/fwrite in the standard library, but they do match the curl expected method signature. This is needed when a refactor passes a curl_write_callback around, which would otherwise give incorrect parameter warnings. Signed-off-by: Dan McGee Signed-off-by: Junio C Hamano ---