aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-06-06 16:43:31 +0800
committerJunio C Hamano <gitster@pobox.com>2009-06-06 10:56:27 -0700
commit68862a3152691424a146a98ce52308e09faf5bb9 (patch)
tree2c0a044d05584a4967728e442e5ba2531db4bee8
parent4f66250df641362f381faae2aec439850a5a6e41 (diff)
downloadgit-68862a3152691424a146a98ce52308e09faf5bb9.tar.gz
git-68862a3152691424a146a98ce52308e09faf5bb9.tar.xz
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>
-rw-r--r--http-push.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http-push.c b/http-push.c
index b3d5c4512..7f36a4087 100644
--- a/http-push.c
+++ b/http-push.c
@@ -2297,7 +2297,9 @@ int main(int argc, char **argv)
repo->url = rewritten_url;
}
+#ifdef USE_CURL_MULTI
is_running_queue = 0;
+#endif
/* Verify DAV compliance/lock support */
if (!locking_available()) {