diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-06-10 11:18:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-10 11:18:17 -0700 |
commit | 225a6f1068f71723a910e8565db4e252b3ca21fa (patch) | |
tree | 5c7e5981d71f9ef025d1acb11b3e6350da3278b7 /diff.c | |
parent | 55bb5c9147a209eba44c3e9866704ece424c3d31 (diff) | |
download | git-225a6f1068f71723a910e8565db4e252b3ca21fa.tar.gz git-225a6f1068f71723a910e8565db4e252b3ca21fa.tar.xz |
zlib: wrap deflateBound() too
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1733,7 +1733,7 @@ static unsigned char *deflate_it(char *data, memset(&stream, 0, sizeof(stream)); git_deflate_init(&stream, zlib_compression_level); - bound = deflateBound(&stream, size); + bound = git_deflate_bound(&stream, size); deflated = xmalloc(bound); stream.next_out = deflated; stream.avail_out = bound; |