- // Not using. Disasterous if called via the CLI! :)
- // All allocated filters are used! Increase the size of the allocated
- // filters.
+ // All allocated filters are used! Increase the size of the allocated
+ // filters.
+
+ {
+ int new_size = filter_list_size * 2;
+ tbft *new = mremap(filter_list, filter_list_size * sizeof(*new), new_size * sizeof(*new), MREMAP_MAYMOVE);