Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 52c2d96ce6183ca8b3498794304fa8dc98f8f42a..13c639c632eb96ed559aee97239b387eccc5f9e3 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-555,7
+555,6
@@
static int post_rpc(struct rpc_state *rpc)
git_zstream stream;
int ret;
- memset(&stream, 0, sizeof(stream));
git_deflate_init_gzip(&stream, Z_BEST_COMPRESSION);
gzip_size = git_deflate_bound(&stream, rpc->len);
gzip_body = xmalloc(gzip_size);