summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8233340)
raw | patch | inline | side by side (parent: 8233340)
author | Nick Hengeveld <nickh@reactrix.com> | |
Wed, 1 Feb 2006 02:00:37 +0000 (18:00 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 1 Feb 2006 02:03:46 +0000 (18:03 -0800) |
There's no need for these structures to be static, and it could potentially
cause problems down the road.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cause problems down the road.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | patch | blob | history |
diff --git a/http-fetch.c b/http-fetch.c
index 92326f9ac50bfb0edecb762d81e26fa134bcf120..97ce13c44c3bedcb13b55c4af885940831f1d12c 100644 (file)
--- a/http-fetch.c
+++ b/http-fetch.c
FILE *indexfile;
struct active_request_slot *slot;
- static struct slot_results results;
+ struct slot_results results;
if (has_pack_index(sha1))
return 0;
char *url;
char *data;
struct active_request_slot *slot;
- static struct alternates_request alt_req;
+ struct alternates_request alt_req;
/* If another request has already started fetching alternates,
wait for them to arrive and return to processing this request's
int i = 0;
struct active_request_slot *slot;
- static struct slot_results results;
+ struct slot_results results;
if (repo->got_indices)
return 0;
struct curl_slist *range_header = NULL;
struct active_request_slot *slot;
- static struct slot_results results;
+ struct slot_results results;
if (fetch_indices(repo))
return -1;
struct buffer buffer;
char *base = alt->base;
struct active_request_slot *slot;
- static struct slot_results results;
+ struct slot_results results;
buffer.size = 41;
buffer.posn = 0;
buffer.buffer = hex;