From 302f7ea9d5e9ed9b1d5e0ca155eb5cb1651f3b51 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 11 Feb 2010 20:20:34 +0200 Subject: [PATCH] * mu-store-xapian.cc: remove obsolete comment --- src/mu-store-xapian.cc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/mu-store-xapian.cc b/src/mu-store-xapian.cc index fa9fa5cb..9c372956 100644 --- a/src/mu-store-xapian.cc +++ b/src/mu-store-xapian.cc @@ -181,14 +181,6 @@ add_terms_values_number (Xapian::Document& doc, MuMsgGMime *msg, doc.add_term (pfx + numstr); } - - - -/* FIXME: note that we store the same data as both a term and a value; - * we use the term for search and the value for getting the the data - * from the document; it's better to only use the value; however, this - * requires some changes in the query processing. - */ static void add_terms_values_string (Xapian::Document& doc, MuMsgGMime *msg, const MuMsgField* field) @@ -229,8 +221,8 @@ add_terms_values_body (Xapian::Document& doc, MuMsgGMime *msg, if (mu_msg_gmime_get_flags(msg) & MU_MSG_FLAG_ENCRYPTED) return; /* don't store encrypted bodies */ - str = mu_msg_gmime_get_body_text(msg); - if (!str) /* FIXME: html->html fallback */ + str = mu_msg_gmime_get_body_text (msg); + if (!str) /* FIXME: html->txt fallback needed */ str = mu_msg_gmime_get_body_html (msg); if (!str)