# [PATCH 05/23] http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"

1 messages from 2009-06-05 to 2009-06-05. Participants: Tay Ray Chuan.
Thread: https://gitlist.dev/t/19681

## Tay Ray Chuan, 2009-06-05 16:04

Subject: [PATCH 05/23] http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"
Message-ID: <20090606000438.298aeddb.rctay89@gmail.com>
URL: https://gitlist.dev/e/20090606000438.298aeddb.rctay89%40gmail.com

```
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>
---
 http-push.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/http-push.c b/http-push.c
index 218e263..1d84f3b 100644
--- a/http-push.c
+++ b/http-push.c
@@ -2298,7 +2298,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()) {
--
1.6.3.1

```
