git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Christian Couder <chriscool@tuxfamily.org>
Date
May 10, 2009, 16:44 UTC
Message-ID
<20090510164431.3526.47427.chriscool@tuxfamily.org>
As it is breaking the build when USE_CURL_MULTI is not defined.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 http-push.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
This patch applies to pu.
diff --git a/http-push.c b/http-push.c
index ef1a9f3..14f3996 100644
--- a/http-push.c
+++ b/http-push.c
@@ -2291,7 +2291,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.rc1.112.g17e25
Next: Tay Ray Chuan
Message 1 of 3 in “http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"”
  1. http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"Christian Couder, May 10, 2009
  2. Tay Ray ChuanMay 11, 2009
  3. Christian CouderMay 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.