cc_log("Stored in cache: %s", cached_stderr);
if (!conf->compression
/* If the file was compressed, obtain the size again: */
- || (conf->compression && x_stat(cached_stderr, &st) == 0)) {
+ || x_stat(cached_stderr, &st) == 0) {
stats_update_size(file_size(&st), 1);
}
} else {
/* Double the size of the table to accommodate more entries */
struct entry **newtable;
struct entry *e;
- struct entry **pE;
unsigned int newsize, i, index;
/* Check we're not hitting max capacity */
if (h->primeindex == (prime_table_length - 1)) return 0;
/* Plan B: realloc instead */
else
{
+ struct entry **pE;
newtable = (struct entry **)
realloc(h->table, newsize * sizeof(struct entry *));
if (NULL == newtable) { (h->primeindex)--; return 0; }