diff options
| -rw-r--r-- | ot_fullscrape.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c index f50d719..89db2f1 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c | |||
| @@ -102,6 +102,7 @@ static int fullscrape_increase( int *iovec_entries, struct iovec **iovector, | |||
| 102 | /* When compressing, we have all the bytes in output buffer */ | 102 | /* When compressing, we have all the bytes in output buffer */ |
| 103 | #ifdef WANT_COMPRESSION_GZIP | 103 | #ifdef WANT_COMPRESSION_GZIP |
| 104 | if( mode & TASK_FLAG_GZIP ) { | 104 | if( mode & TASK_FLAG_GZIP ) { |
| 105 | int zres; | ||
| 105 | *re -= OT_SCRAPE_MAXENTRYLEN; | 106 | *re -= OT_SCRAPE_MAXENTRYLEN; |
| 106 | strm->next_out = (uint8_t*)*r; | 107 | strm->next_out = (uint8_t*)*r; |
| 107 | strm->avail_out = OT_SCRAPE_CHUNK_SIZE; | 108 | strm->avail_out = OT_SCRAPE_CHUNK_SIZE; |
