Skip to content

Commit

Permalink
http-push: fix missing "#ifdef USE_CURL_MULTI" around "is_running_queue"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tay Ray Chuan authored and Junio C Hamano committed Jun 6, 2009
1 parent 4f66250 commit 68862a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 68862a3

Please sign in to comment.