mirror of
git://erdgeist.org/opentracker
synced 2025-04-19 19:24:32 +08:00
Be a little more verbose about why increases fail
This commit is contained in:
parent
0bfab763d8
commit
a146a32885
@ -100,7 +100,7 @@ static int fullscrape_increase( int *iovec_entries, struct iovec **iovector,
|
|||||||
strm->next_out = (uint8_t*)*r;
|
strm->next_out = (uint8_t*)*r;
|
||||||
strm->avail_out = OT_SCRAPE_CHUNK_SIZE;
|
strm->avail_out = OT_SCRAPE_CHUNK_SIZE;
|
||||||
if( deflate( strm, zaction ) < Z_OK )
|
if( deflate( strm, zaction ) < Z_OK )
|
||||||
fprintf( stderr, "deflate() failed while in fullscrape_increase().\n" );
|
fprintf( stderr, "deflate() failed while in fullscrape_increase(%d).\n", zaction );
|
||||||
*r = (char*)strm->next_out;
|
*r = (char*)strm->next_out;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user