author | Junio C Hamano <gitster@pobox.com> | |
Fri, 10 Jun 2011 17:45:29 +0000 (10:45 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 10 Jun 2011 17:51:02 +0000 (10:51 -0700) | ||
commit | 5e86c1fb866ca4bc8d6e015ccbdafd114fd616fa | |
tree | 1acd628b6280d13d2dfae14d704edc1eb1544aa7 | tree | snapshot |
parent | 9e7e5ca372a0242069ff4e7eccecc7d5fe7ec385 | commit | diff |
zlib: wrap inflateInit2 used to accept only for gzip format
http-backend.c uses inflateInit2() to tell the library that it wants to
accept only gzip format. Wrap it in a helper function so that readers do
not have to wonder what the magic numbers 15 and 16 are for.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c uses inflateInit2() to tell the library that it wants to
accept only gzip format. Wrap it in a helper function so that readers do
not have to wonder what the magic numbers 15 and 16 are for.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
http-backend.c | diff | blob | history | |
zlib.c | diff | blob | history |