| 117 | } |
| 118 | |
| 119 | void git_inflate_end(git_zstream *strm) |
| 120 | { |
| 121 | int status; |
| 122 | |
| 123 | zlib_pre_call(strm); |
| 124 | status = inflateEnd(&strm->z); |
| 125 | zlib_post_call(strm, status); |
| 126 | if (status == Z_OK) |
| 127 | return; |
| 128 | error("inflateEnd: %s (%s)", zerr_to_string(status), |
| 129 | strm->z.msg ? strm->z.msg : "no message"); |
| 130 | } |
| 131 | |
| 132 | int git_inflate(git_zstream *strm, int flush) |
| 133 | { |