shared repository: optionally allow reading to "others".
[gitweb.git] / http-fetch.c
index 661c909152925ea3c9a375c13121200067e97cd2..d3602b7d7d820a37b6395a7aeb96a8dc8368a646 100644 (file)
@@ -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) {