X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Ffulltext%2Fserv_fulltext.c;fp=citadel%2Fmodules%2Ffulltext%2Fserv_fulltext.c;h=7943e344cc87a392c0947917e1374f7249b35318;hb=e6219cc9b27e56e3b41170f864da30fa7b13ee01;hp=547caaefd216ea810535d6d67ed66f053e06ae7f;hpb=848934c1722edc208c4df49c571586b72c3fc486;p=citadel.git diff --git a/citadel/modules/fulltext/serv_fulltext.c b/citadel/modules/fulltext/serv_fulltext.c index 547caaefd..7943e344c 100644 --- a/citadel/modules/fulltext/serv_fulltext.c +++ b/citadel/modules/fulltext/serv_fulltext.c @@ -126,7 +126,7 @@ void ft_index_message(long msgnum, int op) { return; } - if (msg->cm_fields[eSuppressIdx] != NULL) { + if (!CM_IsEmpty(msg, eSuppressIdx)) { syslog(LOG_DEBUG, "ft_index_message() excluded msg %ld", msgnum); CtdlFreeMessage(msg); return;