Skip to contentSkip to conversation

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

PATCH In review Tay Ray Chuan 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 5/23 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.

---
 http-push.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
http-push.c +2 -0
index 218e263..1d84f3b 100644
@@ -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