@matheusbsbs / matheus-bagliano / commits / 68862a3152
Fork 0

http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"

As it is breaking the build when USE_CURL_MULTI is not defined. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Tay Ray Chuan committed Jun 6, 2009 at 16:43 UTC 68862a3152691424a146a98ce52308e09faf5bb9
1 file changed +2
http-push.c
+2
@@ -2297,7 +2297,9 @@ int main(int argc, char **argv)
2297 repo->url = rewritten_url;
2298 }
2299
2300 +#ifdef USE_CURL_MULTI
2301 is_running_queue = 0;
2302 +#endif
2303
2304 /* Verify DAV compliance/lock support */
2305 if (!locking_available()) {