author | Dan McGee <dpmcgee@gmail.com> | |
Tue, 3 May 2011 15:47:27 +0000 (23:47 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 May 2011 20:30:28 +0000 (13:30 -0700) | ||
commit | a04ff3ec32b8a998a18f8b515ae4c48c1846b327 | |
tree | 0092c5d022ca90da22cf516d589cb8ce4b0f1f5b | tree | snapshot |
parent | 11c3e2b7bd617334e7730950166188e94e003f2b | commit | diff |
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 <dpmcgee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <dpmcgee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-walker.c | diff | blob | history | |
http.c | diff | blob | history | |
http.h | diff | blob | history | |
remote-curl.c | diff | blob | history |