Commit c078c9f7 authored by Richard P. Curnow's avatar Richard P. Curnow

Fix silly typo

The previous code, on the 2nd indexing run onwards, was losing the table for
the email bodies from all previous messages.
parent 18f8cff7
......@@ -496,7 +496,7 @@ struct database *new_database_from_file(char *db_filename, int do_integrity_chec
import_toktable(input->data, input->hash_key, result->n_msgs, &input->from, result->from);
import_toktable(input->data, input->hash_key, result->n_msgs, &input->subject, result->subject);
import_toktable(input->data, input->hash_key, result->n_msgs, &input->body, result->body);
import_toktable(input->data, input->hash_key, result->n_msgs, &input->attachment_name, result->body);
import_toktable(input->data, input->hash_key, result->n_msgs, &input->attachment_name, result->attachment_name);
import_toktable2(input->data, input->hash_key, result->n_msgs, &input->msg_ids, result->msg_ids);
close_db(input);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment