dprint(FD_FILE, "resize file array to %d files\n", new_size);
td->files = realloc(td->files, new_size * sizeof(f));
- td->files[cur_files] = f;
td->files_size = new_size;
}
+ td->files[cur_files] = f;
/*
* init function, io engine may not be loaded yet