summaryrefslogtreecommitdiff
path: root/ot_fullscrape.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_fullscrape.c')
-rw-r--r--ot_fullscrape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 8d1b1db..d40e471 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -92,7 +92,7 @@ static int fullscrape_increase( int *iovec_entries, struct iovec **iovector,
92 92
93 /* Adjust new end of output buffer */ 93 /* Adjust new end of output buffer */
94 *re = *r + OT_SCRAPE_CHUNK_SIZE - OT_SCRAPE_MAXENTRYLEN; 94 *re = *r + OT_SCRAPE_CHUNK_SIZE - OT_SCRAPE_MAXENTRYLEN;
95 95
96 /* When compressing, we have all the bytes in output buffer */ 96 /* When compressing, we have all the bytes in output buffer */
97#ifdef WANT_COMPRESSION_GZIP 97#ifdef WANT_COMPRESSION_GZIP
98 if( mode & TASK_FLAG_GZIP ) { 98 if( mode & TASK_FLAG_GZIP ) {
@@ -100,7 +100,7 @@ static int fullscrape_increase( int *iovec_entries, struct iovec **iovector,
100 strm->next_out = (uint8_t*)*r; 100 strm->next_out = (uint8_t*)*r;
101 strm->avail_out = OT_SCRAPE_CHUNK_SIZE; 101 strm->avail_out = OT_SCRAPE_CHUNK_SIZE;
102 if( deflate( strm, zaction ) < Z_OK ) 102 if( deflate( strm, zaction ) < Z_OK )
103 fprintf( stderr, "deflate() failed while in fullscrape_increase().\n" ); 103 fprintf( stderr, "deflate() failed while in fullscrape_increase(%d).\n", zaction );
104 *r = (char*)strm->next_out; 104 *r = (char*)strm->next_out;
105 } 105 }
106#endif 106#endif