diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-06 22:36:10 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-06 22:36:10 -0700 |
commit | fd4c6cc9d6f6a4a8bd9f4f2825675261f5d91c9c (patch) | |
tree | 5b187e08ee55ef11225336c54f7beaa6c06bc5f7 /http-fetch.c | |
parent | Merge branch 'jc/lockfile' into next (diff) | |
parent | http-fetch: fix possible segfault (diff) | |
download | tgif-fd4c6cc9d6f6a4a8bd9f4f2825675261f5d91c9c.tar.xz |
Merge branch 'master' into next
* master:
http-fetch: fix possible segfault
Refactor git_tcp_connect() functions a little.
builtin-grep: pass ignore case option to external grep
Diffstat (limited to 'http-fetch.c')
-rw-r--r-- | http-fetch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http-fetch.c b/http-fetch.c index 661c909152..d3602b7d7d 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -399,6 +399,7 @@ void prefetch(unsigned char *sha1) snprintf(newreq->filename, sizeof(newreq->filename), "%s", filename); snprintf(newreq->tmpfile, sizeof(newreq->tmpfile), "%s.temp", filename); + newreq->slot = NULL; newreq->next = NULL; if (object_queue_head == NULL) { |