3
0
Fork 0

increase COMPRESSOR_BUFFER_SIZE to avoid segfaults

small_fixes
kelson42 13 years ago
parent 888b5920e6
commit 1fe4e185f4

@ -147,7 +147,7 @@ bool isVerbose() {
}
/* For compression */
#define COMPRESSOR_BUFFER_SIZE 5000000
#define COMPRESSOR_BUFFER_SIZE 10000000
static Bytef *compr = (Bytef *)malloc(COMPRESSOR_BUFFER_SIZE);
static uLongf comprLen;

Loading…
Cancel
Save