threads / patch / 19681

patch, 23 partshttp-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"

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

## tl;dr

One message between Jun 5, 2009 and Jun 5, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Tay Ray Chuan· Jun 5, 2009, 16:04 UTC · lore
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(-)
Show changes to http-push.c +2 −1
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

← back to recent threads