@ -21,6 +21,7 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@@ -21,6 +21,7 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
int max_out_bytes = size + 200;
void *out = malloc(max_out_bytes);
void *metadata = malloc(200);
int metadata_size;
void *in;
SHA_CTX c;
@ -31,6 +32,13 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@@ -31,6 +32,13 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@ -38,7 +46,7 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@@ -38,7 +46,7 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@ -54,10 +62,6 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)
@@ -54,10 +62,6 @@ static int index_fd(unsigned char *sha1, int fd, struct stat *st)