summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zstream.c b/src/zstream.c
index 975ead2f6..a5675676e 100644
--- a/src/zstream.c
+++ b/src/zstream.c
@@ -156,7 +156,7 @@ int git_zstream_get_output(void *out, size_t *out_len, git_zstream *zstream)
}
/* either we finished the input or we did not flush the data */
- assert(zstream->in_len > 0 || zstream->flush == Z_FINISH);
+ GIT_ASSERT(zstream->in_len > 0 || zstream->flush == Z_FINISH);
/* set out_size to number of bytes actually written to output */
*out_len = *out_len - out_remain;