File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1260,10 +1260,6 @@ warc_start_new_file (bool meta)
1260
1260
1261
1261
warc_current_file_number ++ ;
1262
1262
1263
- /* init the hash table */
1264
- warc_dedup_table = hash_table_new (1000 , warc_hash_sha1_digest ,
1265
- warc_cmp_sha1_digest );
1266
-
1267
1263
base_filename_length = strlen (opt .warc_filename );
1268
1264
/* filename format: base + "-" + 5 digit serial number + ".warc.zst" */
1269
1265
new_filename = xmalloc (base_filename_length + 1 + 5 + 9 + 1 );
@@ -1651,6 +1647,10 @@ _("CDX file does not list record ids. (Missing column 'u'.)\n"));
1651
1647
{
1652
1648
int nrecords ;
1653
1649
1650
+ /* init the hash table */
1651
+ warc_dedup_table = hash_table_new (1000 , warc_hash_sha1_digest ,
1652
+ warc_cmp_sha1_digest );
1653
+
1654
1654
/* Load CDX data into the table. */
1655
1655
1656
1656
do
You can’t perform that action at this time.
0 commit comments