OSDN Git Service

http: consolidate #ifdefs for curl_multi_remove_handle
authorEric Wong <e@80x24.org>
Tue, 13 Sep 2016 00:25:56 +0000 (00:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2016 20:34:03 +0000 (13:34 -0700)
commitd8b6b84df024b4ce2c10d7e5c725da24dcb19ff6
tree486002f018035d9a7c09ec37f8d5c8c0e6f44728
parent9f1b58842a44e8f0dc8fb4a447449cb31957b4bf
http: consolidate #ifdefs for curl_multi_remove_handle

I find #ifdefs makes code difficult-to-follow.

An early version of this patch had error checking for
curl_multi_remove_handle calls, but caused some tests (e.g.
t5541) to fail under curl 7.26.0 on old Debian wheezy.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c