http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"
authorTay Ray Chuan <rctay89@gmail.com>
Sat, 6 Jun 2009 08:43:31 +0000 (16:43 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Jun 2009 17:56:27 +0000 (10:56 -0700)
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>
http-push.c

index b3d5c4512a69b9b10b409c18e5a4e5f4d17d92eb..7f36a4087081de8ee7ee67092560b8c9c56b3710 100644 (file)
@@ -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()) {