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 @@ -1224,10 +1224,6 @@ warc_start_new_file (bool meta)
1224
1224
1225
1225
warc_current_file_number ++ ;
1226
1226
1227
- /* init the hash table */
1228
- warc_dedup_table = hash_table_new (1000 , warc_hash_sha1_digest ,
1229
- warc_cmp_sha1_digest );
1230
-
1231
1227
base_filename_length = strlen (opt .warc_filename );
1232
1228
/* filename format: base + "-" + 5 digit serial number + ".warc.zst" */
1233
1229
new_filename = xmalloc (base_filename_length + 1 + 5 + 9 + 1 );
@@ -1598,6 +1594,10 @@ _("CDX file does not list record ids. (Missing column 'u'.)\n"));
1598
1594
{
1599
1595
int nrecords ;
1600
1596
1597
+ /* init the hash table */
1598
+ warc_dedup_table = hash_table_new (1000 , warc_hash_sha1_digest ,
1599
+ warc_cmp_sha1_digest );
1600
+
1601
1601
/* Load CDX data into the table. */
1602
1602
1603
1603
do
You can’t perform that action at this time.
0 commit comments